Skip to content
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
Improvements
  • Loading branch information
itaisteinherz committed Feb 20, 2022
commit a10cced8ea144af367f70349c65f475cd81707aa
4 changes: 2 additions & 2 deletions stdlib/importlib/metadata/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if sys.version_info >= (3, 8):
@property
def metadata(self) -> PackageMetadata: ...
@property
def entry_points(self) -> SelectableGroups: ...
def entry_points(self) -> EntryPoints: ...
else:
@property
def metadata(self) -> Message: ...
Expand Down Expand Up @@ -140,7 +140,7 @@ if sys.version_info >= (3, 8):
def entry_points() -> SelectableGroups: ...
Comment thread
srittau marked this conversation as resolved.
Outdated
else:
def metadata(distribution_name: str) -> Message: ...
def entry_points() -> dict[str, tuple[EntryPoint, ...]]: ...
def entry_points() -> dict[str, list[EntryPoint]]: ...
Comment thread
itaisteinherz marked this conversation as resolved.
Outdated

def version(distribution_name: str) -> str: ...
def files(distribution_name: str) -> list[PackagePath] | None: ...
Expand Down