mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 10:03:32 +08:00
stdlib: More pos-only parameters to Protocols (#10987)
This commit is contained in:
@@ -69,7 +69,7 @@ if sys.version_info >= (3, 12):
|
||||
def invalidate_caches(self) -> None: ...
|
||||
# Not defined on the actual class, but expected to exist.
|
||||
def find_spec(
|
||||
self, fullname: str, path: Sequence[str] | None, target: types.ModuleType | None = ...
|
||||
self, __fullname: str, __path: Sequence[str] | None, __target: types.ModuleType | None = ...
|
||||
) -> ModuleSpec | None: ...
|
||||
|
||||
class PathEntryFinder(metaclass=ABCMeta):
|
||||
@@ -84,7 +84,7 @@ else:
|
||||
def invalidate_caches(self) -> None: ...
|
||||
# Not defined on the actual class, but expected to exist.
|
||||
def find_spec(
|
||||
self, fullname: str, path: Sequence[str] | None, target: types.ModuleType | None = ...
|
||||
self, __fullname: str, __path: Sequence[str] | None, __target: types.ModuleType | None = ...
|
||||
) -> ModuleSpec | None: ...
|
||||
|
||||
class PathEntryFinder(Finder):
|
||||
|
||||
Reference in New Issue
Block a user