Document that Py_TPFLAGS_VALID_VERSION_TAG shouldn't be used.
.. versionadded:: 3.10
+ .. data:: Py_TPFLAGS_VALID_VERSION_TAG
+
+ Internal. Do not set or unset this flag.
+ To indicate that a class has changed call :c:func:`PyType_Modified`
+
+ .. warning::
+ This flag is present in header files, but is an internal feature and should
+ not be used. It will be removed in a future version of CPython
+
+
.. c:member:: const char* PyTypeObject.tp_doc
An optional pointer to a NUL-terminated C string giving the docstring for this
--- /dev/null
+Document that the Py_TPFLAGS_VALID_VERSION_TAG is an internal feature,
+should not be used, and will be removed.