Skip to content

Commit

Permalink
Make protocol arguments positional only as suggested in the review
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 10, 2024
1 parent a189e29 commit 6cddd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/_typeshed/importlib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ class MetaPathFinderProtocol(Protocol):
def find_spec(self, fullname: str, path: Sequence[str] | None, target: ModuleType | None = ..., /) -> ModuleSpec | None: ...

class PathEntryFinderProtocol(Protocol):
def find_spec(self, fullname: str, target: ModuleType | None = ...) -> ModuleSpec | None: ...
def find_spec(self, fullname: str, target: ModuleType | None = ..., /) -> ModuleSpec | None: ...

0 comments on commit 6cddd52

Please sign in to comment.