mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +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
@@ -143,9 +143,9 @@ if sys.version_info >= (3, 8):
|
||||
class _HeaderParser(Protocol):
|
||||
max_count: ClassVar[Literal[1] | None]
|
||||
@staticmethod
|
||||
def value_parser(value: str) -> TokenList: ...
|
||||
def value_parser(__value: str) -> TokenList: ...
|
||||
@classmethod
|
||||
def parse(cls, value: str, kwds: dict[str, Any]) -> None: ...
|
||||
def parse(cls, __value: str, __kwds: dict[str, Any]) -> None: ...
|
||||
|
||||
class HeaderRegistry:
|
||||
registry: dict[str, type[_HeaderParser]]
|
||||
|
||||
Reference in new issue
Block a user