builtins: updates for py313 (#12028)

This commit is contained in:
Alex Waygood
2024-05-24 15:27:15 -04:00
committed by GitHub
parent 966fbfb300
commit fc33ba67ba
2 changed files with 23 additions and 10 deletions

View File

@@ -47,11 +47,6 @@ asyncio.streams.StreamWriter.__del__
bdb.Bdb.dispatch_opcode
bdb.Bdb.set_stepinstr
bdb.Bdb.user_opcode
builtins.IncompleteInputError
builtins.PythonFinalizationError
builtins.property.__name__
builtins.str.format_map
builtins.str.replace
codecs.backslashreplace_errors
codecs.ignore_errors
codecs.namereplace_errors
@@ -316,6 +311,7 @@ _weakref.ProxyType.__reversed__ # Doesn't really exist
argparse._MutuallyExclusiveGroup.add_mutually_exclusive_group # deprecated, forwards arguments to super
ast.ImportFrom.level # None on the class, but never None on instances
builtins.property.__set_name__ # Doesn't actually exist
builtins.str.format_map # stubtest says `mapping` is pos-or-keyword but in reality it is pos-only
collections\.UserList\.index # ignoring pos-or-keyword parameter
dataclasses.KW_ONLY # white lies around defaults
enum.auto.__init__ # The stub for enum.auto is nothing like the implementation