mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 09:08:27 +08:00
Bump mypy to 1.9, add to json.encoder, small fixups (#11549)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
simplejson.scanner.make_scanner
|
||||
simplejson.scanner.JSONDecodeError.__init__
|
||||
simplejson.JSONDecodeError.__init__
|
||||
simplejson.encoder.c_make_encoder
|
||||
simplejson.encoder.c_encode_basestring_ascii
|
||||
simplejson.encoder.py_encode_basestring_ascii
|
||||
|
||||
# Tests are not included:
|
||||
simplejson.tests.*
|
||||
|
||||
@@ -57,4 +57,4 @@ class JSONEncoder:
|
||||
class JSONEncoderForHTML(JSONEncoder): ...
|
||||
|
||||
def encode_basestring(s: str | bytes, _PY3: Literal[True] = ..., _q: str = ...) -> str: ...
|
||||
def py_encode_basestring_ascii(s: str | bytes, _PY3: Literal[True] = ...) -> str: ...
|
||||
def encode_basestring_ascii(s: str | bytes, _PY3: Literal[True] = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user