Add some missing items to sys.pyi and types.pyi (#7447)

This commit is contained in:
Jelle Zijlstra
2022-03-06 23:22:08 -08:00
committed by GitHub
parent 947724a5cb
commit 675de720d6
7 changed files with 31 additions and 14 deletions

View File

@@ -161,7 +161,6 @@ multiprocessing.managers.SharedMemoryServer.shutdown
multiprocessing.managers.SharedMemoryServer.track_segment
pyexpat.XMLParserType.SkippedEntityHandler
pyexpat.XMLParserType.intern
types.CoroutineType.cr_origin
typing._SpecialForm.__call__
unicodedata.UCD.is_normalized
xml.parsers.expat.XMLParserType.SkippedEntityHandler

View File

@@ -111,13 +111,15 @@ collections.Generator.gi_yieldfrom
collections.Mapping.get # Adding None to the Union messed up mypy
collections.Sequence.index # Supporting None in end is not mandatory
# Intentionally omitted because of syntax issues
asyncio.async
asyncio.tasks.async
# Exists at runtime, but missing from stubs
_bisect.bisect
_bisect.insort
asyncio.async
asyncio.futures._TracebackLogger.loop
asyncio.futures._TracebackLogger.source_traceback
asyncio.tasks.async
calendar.HTMLCalendar.cssclasses
distutils.cmd.install_misc
distutils.sysconfig.expand_makefile_vars
@@ -131,9 +133,6 @@ plistlib.Data.asBase64
plistlib.Data.fromBase64
ssl.SSLObject.verify_client_post_handshake
ssl.SSLSocket.verify_client_post_handshake
sys.callstats
sys.get_coroutine_wrapper
sys.set_coroutine_wrapper
tempfile.SpooledTemporaryFile.softspace
tkinter.dnd.Icon
tkinter.dnd.Tester

View File

@@ -116,9 +116,6 @@ ssl.Options.OP_ENABLE_MIDDLEBOX_COMPAT
ssl.SSLObject.verify_client_post_handshake
ssl.SSLSocket.verify_client_post_handshake
stringprep.unicodedata # re-exported from unicodedata
sys.callstats
sys.get_coroutine_wrapper
sys.set_coroutine_wrapper
tempfile.SpooledTemporaryFile.softspace
tkinter.commondialog.[A-Z_]+
tkinter.commondialog.TclVersion
@@ -137,5 +134,4 @@ tkinter.filedialog.TkVersion
tkinter.filedialog.wantobjects
tkinter.simpledialog.wantobjects
tkinter.tix.wantobjects
types.CoroutineType.cr_origin
typing._SpecialForm.__call__

View File

@@ -136,7 +136,6 @@ plistlib.Data.fromBase64
pyexpat.XMLParserType.SkippedEntityHandler
pyexpat.XMLParserType.intern
stringprep.unicodedata # re-exported from unicodedata
sys.callstats
tempfile.SpooledTemporaryFile.softspace
tkinter.commondialog.[A-Z_]+
tkinter.commondialog.TclVersion
@@ -155,7 +154,6 @@ tkinter.filedialog.TkVersion
tkinter.filedialog.wantobjects
tkinter.simpledialog.wantobjects
tkinter.tix.wantobjects
types.CoroutineType.cr_origin
typing._SpecialForm.__call__
unicodedata.UCD.is_normalized
xml.parsers.expat.XMLParserType.SkippedEntityHandler

View File

@@ -154,7 +154,6 @@ multiprocessing.managers.SharedMemoryServer.track_segment
pyexpat.XMLParserType.SkippedEntityHandler
pyexpat.XMLParserType.intern
stringprep.unicodedata # re-exported from unicodedata
types.CoroutineType.cr_origin
types.GenericAlias.__mro_entries__
typing._SpecialForm.__call__
typing._SpecialForm.__mro_entries__