summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-29 08:26:34 (GMT)
committerGitHub <noreply@github.com>2021-04-29 08:26:34 (GMT)
commit5bd0619533ed6587ce76402e9b0b118eb4d4dd09 (patch)
tree4ee68209ce2cfd090a4f183d67a3e2b97bc89258 /Include
parentc6ad03fddf4b04c60dca4327140e59fb2dcca8e5 (diff)
downloadcpython-5bd0619533ed6587ce76402e9b0b118eb4d4dd09.zip
cpython-5bd0619533ed6587ce76402e9b0b118eb4d4dd09.tar.gz
cpython-5bd0619533ed6587ce76402e9b0b118eb4d4dd09.tar.bz2
bpo-43908: Document Static Types in the C API (GH-25710)
Update also PyTypeObject structure definition in the doc.
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h
index 58e4d2b..84c60e5 100644
--- a/Include/cpython/object.h
+++ b/Include/cpython/object.h
@@ -186,6 +186,8 @@ typedef struct {
* backwards-compatibility */
typedef Py_ssize_t printfunc;
+// If this structure is modified, Doc/includes/typestruct.h should be updated
+// as well.
struct _typeobject {
PyObject_VAR_HEAD
const char *tp_name; /* For printing, in format "<module>.<name>" */