8000 Type must not be used before made immutable · python/cpython@e0cc4be · GitHub
[go: up one dir, main page]

Skip to content

Commit e0cc4be

Browse files
committed
Type must not be used before made immutable
1 parent 1c1fa7e commit e0cc4be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/c-api/type.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ The following functions and structs are used to create
390390
On success, return ``0``.
391391
On error, set an exception and return ``-1``.
392392
393+
The type must not be used before it's made immutable. For example, type
394+
instances must not be created before the type is made immutable.
395+
393396
.. versionadded:: 3.14
394397
395398
.. raw:: html

0 commit comments

Comments
 (0)
0