@@ -35,7 +35,7 @@ Type Objects |
|
|
35 |
35 |
|
36 |
36 |
Clear the internal lookup cache. Return the current version tag. |
37 |
37 |
|
38 |
|
-.. c:function:: long PyType_GetFlags(PyTypeObject* type) |
|
38 |
+.. c:function:: unsigned long PyType_GetFlags(PyTypeObject* type) |
39 |
39 |
|
40 |
40 |
Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This function is primarily |
41 |
41 |
meant for use with `Py_LIMITED_API`; the individual flag bits are |
@@ -44,6 +44,9 @@ Type Objects |
|
|
44 |
44 |
|
45 |
45 |
.. versionadded:: 3.2 |
46 |
46 |
|
|
47 |
+ .. versionchanged:: 3.4 |
|
48 |
+ The return type is now ``unsigned long`` rather than ``long``. |
|
49 |
+ |
47 |
50 |
|
48 |
51 |
.. c:function:: void PyType_Modified(PyTypeObject *type) |
49 |
52 |
|