mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
stdlib: Use pos-only parameters for many Protocols (#10985)
This commit is contained in:
1 parent
a5c1a4cd3f
commit
5030b7419b
9 files changed
+14
-14
No files matched your search
@@ -6,7 +6,7 @@ from typing import Any, Protocol
|
||||
__all__ = ["compile_dir", "compile_file", "compile_path"]
|
||||
|
||||
class _SupportsSearch(Protocol):
|
||||
def search(self, string: str) -> Any: ...
|
||||
def search(self, __string: str) -> Any: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
def compile_dir(
|
||||
|
||||
Reference in new issue
Block a user