types: 3.11 (and earlier) fixes (#7900)

- New attributes in 3.11
- Arguments to CodeType.__init__ are always positional (have fun)
- co_consts can use object instead of Any
This commit is contained in:
Jelle Zijlstra
2022-05-21 07:37:11 -07:00
committed by GitHub
parent 76a4bd796b
commit 0198d75153
2 changed files with 117 additions and 44 deletions

View File

@@ -89,10 +89,6 @@ symtable.SymbolTable.has_exec
sys.UnraisableHookArgs # Not exported from sys
sys.exception
tkinter._VersionInfoType.__doc__
types.CodeType.co_exceptiontable
types.CodeType.co_qualname
types.CoroutineType.cr_suspended
types.GeneratorType.gi_suspended
typing.ForwardRef._evaluate
typing.NewType.__call__
typing.NewType.__mro_entries__