Skip to content

Commit

Permalink
Type must not be used before made immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Sep 23, 2024
1 parent 1c1fa7e commit e0cc4be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ The following functions and structs are used to create
On success, return ``0``.
On error, set an exception and return ``-1``.
The type must not be used before it's made immutable. For example, type
instances must not be created before the type is made immutable.
.. versionadded:: 3.14
.. raw:: html
Expand Down

0 comments on commit e0cc4be

Please sign in to comment.