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 73104fa commit 9fbcfc0Copy full SHA for 9fbcfc0
1 file changed
Doc/c-api/type.rst
@@ -35,7 +35,7 @@ Type Objects
35
36
Clear the internal lookup cache. Return the current version tag.
37
38
-.. c:function:: long PyType_GetFlags(PyTypeObject* type)
+.. c:function:: unsigned long PyType_GetFlags(PyTypeObject* type)
39
40
Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This function is primarily
41
meant for use with `Py_LIMITED_API`; the individual flag bits are
@@ -44,6 +44,9 @@ Type Objects
44
45
.. versionadded:: 3.2
46
47
+ .. versionchanged:: 3.4
48
+ The return type is now ``unsigned long`` rather than ``long``.
49
+
50
51
.. c:function:: void PyType_Modified(PyTypeObject *type)
52
0 commit comments