Skip to content

Add __all__ to copyreg stubs #7137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 5, 2022
Merged

Conversation

AlexWaygood
Copy link
Member

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2022

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

@@ -3,7 +3,7 @@ from typing import Any, Callable, Hashable, Optional, SupportsInt, TypeVar, Unio
_TypeT = TypeVar("_TypeT", bound=type)
_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
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
Member Author

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:master Feb 5, 2022
@AlexWaygood AlexWaygood deleted the copyreg branch February 5, 2022 15:28
Sign up for free to 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