mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-14 04:14:52 +08:00
Fix various argument of extension modules (#13651)
* Mark various positional-only arguments: These are all positional-only arguments in C code using the `METH_O` flag. * Remove various `*args, **kwargs` arguments that are using the `METH_NOARGS` flag in C.
This commit is contained in:
@@ -57,4 +57,4 @@ class JSONEncoder:
|
||||
class JSONEncoderForHTML(JSONEncoder): ...
|
||||
|
||||
def encode_basestring(s: str | bytes, _PY3: Literal[True] = ..., _q: str = ...) -> str: ...
|
||||
def encode_basestring_ascii(s: str | bytes, _PY3: Literal[True] = ...) -> str: ...
|
||||
def encode_basestring_ascii(s: str | bytes, /) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user