|
6 | 6 |
|
7 | 7 | importlib.abc.MetaPathFinder.find_spec # Not defined on the actual class, but expected to exist. |
8 | 8 | importlib.abc.PathEntryFinder.find_spec # Not defined on the actual class, but expected to exist. |
9 | | -tkinter.simpledialog.[A-Z_]+ |
10 | | -tkinter.simpledialog.TclVersion |
11 | | -tkinter.simpledialog.TkVersion |
12 | 9 | tarfile.TarInfo.__slots__ # it's a big dictionary at runtime and the dictionary values are a bit long |
13 | 10 |
|
14 | 11 |
|
@@ -457,17 +454,6 @@ typing(_extensions)?\.TextIO\.newlines |
457 | 454 | typing(_extensions)?\.IO\.__iter__ |
458 | 455 | typing(_extensions)?\.IO\.__next__ |
459 | 456 |
|
460 | | -# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer |
461 | | -# to mark these as positional-only for compatibility with existing sub-classes. |
462 | | -typing(_extensions)?\.BinaryIO\.write |
463 | | -typing(_extensions)?\.IO\.read |
464 | | -typing(_extensions)?\.IO\.readline |
465 | | -typing(_extensions)?\.IO\.readlines |
466 | | -typing(_extensions)?\.IO\.seek |
467 | | -typing(_extensions)?\.IO\.truncate |
468 | | -typing(_extensions)?\.IO\.write |
469 | | -typing(_extensions)?\.IO\.writelines |
470 | | - |
471 | 457 | types.MethodType.__closure__ # read-only but not actually a property; stubtest thinks it doesn't exist. |
472 | 458 | types.MethodType.__code__ # read-only but not actually a property; stubtest thinks it doesn't exist. |
473 | 459 | types.MethodType.__defaults__ # read-only but not actually a property; stubtest thinks it doesn't exist. |
@@ -499,7 +485,3 @@ xml.etree.ElementTree.XMLParser.__init__ # Defined in C so has general signatur |
499 | 485 | # Iterable classes that don't define __iter__ at runtime (usually iterable via __getitem__) |
500 | 486 | # These would ideally be special-cased by type checkers; see https://github.com/python/mypy/issues/2220 |
501 | 487 | xml.etree.ElementTree.Element.__iter__ |
502 | | - |
503 | | -# These three have a pos-or-keyword first parameter at runtime, but deliberately have a pos-only first parameter in the stub. #6812 |
504 | | -posixpath.join |
505 | | -ntpath.join |
0 commit comments