Skip to content
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
5 changes: 5 additions & 0 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,11 @@ are always available. They are listed here in alphabetical order.
in the same way that keywords in a class
definition (besides *metaclass*) would.

Unlike a :keyword:`class` statement, the three argument form does not
call the metaclass ``__prepare__`` method (see :ref:`prepare`). Use
:func:`types.new_class` to dynamically create a class using the
appropriate metaclass.

See also :ref:`class-customization`.

.. versionchanged:: 3.6
Expand Down
Loading