Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c971c commit af3a6a8Copy full SHA for af3a6a8
1 file changed
Doc/whatsnew/3.9.rst
@@ -1024,6 +1024,13 @@ C API Changes
1024
New Features
1025
------------
1026
1027
+* :pep:`573`: Add :c:func:`PyType_FromModuleAndSpec` to associate
1028
+ a module with a class; :c:func:`PyType_GetModule` and
1029
+ :c:func:`PyType_GetModuleState` to retrieve the module and its state; and
1030
+ :c:data:`PyCMethod` and :c:data:`METH_METHOD` to allow a method to
1031
+ access the class it was defined in.
1032
+ (Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.)
1033
+
1034
* Add :c:func:`PyFrame_GetCode` function: get a frame code.
1035
Add :c:func:`PyFrame_GetBack` function: get the frame next outer frame.
1036
(Contributed by Victor Stinner in :issue:`40421`.)
0 commit comments