8000 gh-123909: Remove obsolete note in PyType_FromMetaclass docs by encukou · Pull Request #131506 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-123909: Remove obsolete note in PyType_FromMetaclass docs #131506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,6 @@ The following functions and structs are used to create

Metaclasses that override :c:member:`~PyTypeObject.tp_new` are not
supported, except if ``tp_new`` is ``NULL``.
(For backwards compatibility, other ``PyType_From*`` functions allow
such metaclasses. They ignore ``tp_new``, which may result in incomplete
initialization. This is deprecated and in Python 3.14+ such metaclasses will
not be supported.)

The *bases* argument can be used to specify base classes; it can either
be only one class or a tuple of classes.
Expand Down
Loading
0