8000 Bump mypy to 0.981 by AlexWaygood · Pull Request #8796 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Bump mypy to 0.981 #8796

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 15 commits into from
Sep 27, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix importlib.metadata.EntryPoint.__init__ on 3.11
  • Loading branch information
AlexWaygood committed Sep 26, 2022
commit 703ee692ac7d9d96aa1a5e595cbec444bc9cd9b1
7E2C 2 changes: 2 additions & 0 deletions stdlib/importlib/metadata/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class _EntryPointBase(NamedTuple):

class EntryPoint(_EntryPointBase):
pattern: ClassVar[Pattern[str]]
if sys.version_info >= (3, 11):
def __init__(self, name: str, value: str, group: str) -> None: ...
def load(self) -> Any: ... # Callable[[], Any] or an importable module
@property
def extras(self) -> list[str]: ...
Expand Down
0