mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-30 20:02:50 +08:00
Update typing-extensions to 4.14.0rc1 (#14139)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
co-authored by
Jelle Zijlstra
parent
57cb510fd2
commit
07c09a442a
@@ -77,6 +77,10 @@ importlib.metadata._meta.SimplePath.__truediv__ # Runtime definition of protoco
|
||||
builtins.float.__setformat__ # Internal method for CPython test suite
|
||||
typing._SpecialForm.__mro_entries__ # Exists at runtime, but missing from stubs
|
||||
|
||||
# Will always raise. Not included to avoid type checkers inferring that
|
||||
# Sentinel instances are callable.
|
||||
typing_extensions.Sentinel.__call__
|
||||
|
||||
|
||||
# =======
|
||||
# <= 3.10
|
||||
|
||||
@@ -169,10 +169,10 @@ typing(_extensions)?\.IO\.writelines
|
||||
.*\.ForwardRef\.__stringifier_dict__
|
||||
|
||||
# These protocols use ABC hackery at runtime.
|
||||
io.Reader.__class_getitem__
|
||||
io.Reader.read
|
||||
io.Writer.__class_getitem__
|
||||
io.Writer.write
|
||||
(io|typing_extensions)\.Reader\.__class_getitem__
|
||||
(io|typing_extensions)\.Reader\.read
|
||||
(io|typing_extensions)\.Writer\.__class_getitem__
|
||||
(io|typing_extensions)\.Writer\.write
|
||||
|
||||
|
||||
# =============================================================
|
||||
|
||||
@@ -44,6 +44,10 @@ tempfile.SpooledTemporaryFile.writable
|
||||
|
||||
tkinter.Tk.split # Exists at runtime, but missing from stubs
|
||||
|
||||
# Will always raise. Not included to avoid type checkers inferring that
|
||||
# Sentinel instances are callable.
|
||||
typing_extensions.Sentinel.__call__
|
||||
|
||||
|
||||
# =======
|
||||
# <= 3.11
|
||||
|
||||
Reference in New Issue
Block a user