Skip to content

Commit 01ea4c7

Browse files
authored
gh-123909: Remove obsolete note in PyType_FromMetaclass docs (GH-131506)
Docs of the other `PyType_From*` functions link to `PyType_FromMetaclass`, which noted that they differ for backwards compatibility reasons. The note is no longer relevant in 3.14. The other functions have `versionchanged` blurbs.
1 parent af29d5c commit 01ea4c7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Doc/c-api/type.rst

-4
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,6 @@ The following functions and structs are used to create
311311
312312
Metaclasses that override :c:member:`~PyTypeObject.tp_new` are not
313313
supported, except if ``tp_new`` is ``NULL``.
314-
(For backwards compatibility, other ``PyType_From*`` functions allow
315-
such metaclasses. They ignore ``tp_new``, which may result in incomplete
316-
initialization. This is deprecated and in Python 3.14+ such metaclasses will
317-
not be supported.)
318314
319315
The *bases* argument can be used to specify base classes; it can either
320316
be only one class or a tuple of classes.

0 commit comments

Comments
 (0)