Skip to content

Add __all__ to copyreg stubs - #7137

Merged
JelleZijlstra merged 3 commits into
python:masterfrom
AlexWaygood:copyreg
Feb 5, 2022
Merged

Add __all__ to copyreg stubs#7137
JelleZijlstra merged 3 commits into
python:masterfrom
AlexWaygood:copyreg

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

_Reduce = Union[tuple[Callable[..., _TypeT], tuple[Any, ...]], tuple[Callable[..., _TypeT], tuple[Any, ...], Optional[Any]]]

__all__: list[str]
__all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extension_cache"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this file doesn't actually exist

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed...

@JelleZijlstra
JelleZijlstra merged commit 287c8c3 into python:masterFeb 5, 2022
@AlexWaygood
AlexWaygood deleted the copyreg branch February 5, 2022 15:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@AlexWaygood@JelleZijlstra