Commit Graph

20 Commits

Author SHA1 Message Date
Shantanu
470a13ab09 Use PEP 570 syntax in stdlib (#11250) 2024-03-09 14:50:16 -08:00
Victorien
91f224a293 Add @deprecated to abstractclass/staticmethod/property (#11488) 2024-02-28 13:12:06 +00:00
Sebastian Rittau
53a8193d64 Update typing_extensions imports in stdlib (#11244)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2024-01-05 08:15:19 -08:00
Sebastian Law
d56b0b80d8 define slots on abc.ABC (#10730) 2023-09-19 13:35:13 +01:00
Alex Waygood
1088ab3d93 Improve stubs for classmethod and staticmethod (#10421) 2023-07-19 13:32:04 +02:00
Alex Waygood
28dd6c1a2e Use ParamSpec for classmethod and staticmethod (#9771) 2023-03-14 09:59:17 +00:00
Alex Waygood
9ed39d8796 Use typing_extensions.Self in the stdlib (#9694) 2023-02-09 09:12:13 +00:00
Jelle Zijlstra
ddfaca3200 stdlib: add argument default values (#9501) 2023-01-18 09:37:34 +01:00
Nikita Sobolev
ea2ccc3c21 Improve annotations for __instancecheck__, __subclasscheck__ (#9291) 2022-11-28 11:15:02 +00:00
Alex Waygood
8d941f0e53 Remove unnecessary pyright: ignore (#9000) 2022-10-27 08:27:28 -07:00
Alex Waygood
6b0c8df9ec Upgrade pyright, improve pyright config files (#8072) 2022-06-16 18:50:50 +01:00
Alex Waygood
dea12b2c47 Add missing __isabstractmethods__ attributes in abc and `functools1 (#7205) 2022-02-14 11:20:07 -08:00
Sebastian Rittau
2dc53caffe Improve abc module and builtin function decorators (#5703) 2022-02-02 16:22:32 +01:00
Alex Waygood
a40d79a4e6 Use lowercase type everywhere (#6853) 2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac Use PEP 585 syntax wherever possible (#6717) 2021-12-28 11:31:43 +01:00
Alex Waygood
5d3bb81d1c Add abc.update_abstractmethods (#6387) 2021-11-26 21:52:52 +02:00
Akuli
ce11072dbe Big diff: use lower-case list and dict (#5888) 2021-08-08 09:26:35 -07:00
Thomas Grainger
2cd7e6511b fix abcmeta.ABCMeta type (#5688)
Add __abstractmethods__, __instancecheck__ and __subclasscheck__

Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-06-24 16:56:09 +03:00
hatal175
d151d1b8bb Stubtest fixes (#5249) 2021-04-25 21:56:54 -07:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00