gh-148829: Implement PEP 661 (#148831)

Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Jelle Zijlstra 2026-04-27 19:28:30 -07:00 committed by GitHub
parent 0efd679a6c
commit 29a92abb60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 532 additions and 32 deletions

View file

@ -3555,6 +3555,7 @@ _PyBuiltin_Init(PyInterpreterState *interp)
SETBUILTIN("object", &PyBaseObject_Type);
SETBUILTIN("range", &PyRange_Type);
SETBUILTIN("reversed", &PyReversed_Type);
SETBUILTIN("sentinel", &PySentinel_Type);
SETBUILTIN("set", &PySet_Type);
SETBUILTIN("slice", &PySlice_Type);
SETBUILTIN("staticmethod", &PyStaticMethod_Type);