Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Improve docs
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
Erlend Egeberg Aasland and vstinner authored Apr 28, 2021
commit 025af5b0d7b7a1049fda9dc9413635965899dd85
5 changes: 3 additions & 2 deletions Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,9 @@ and :c:type:`PyType_Type` effectively act as defaults.)

.. data:: Py_TPFLAGS_IMMUTABLETYPE

This bit is set for type objects that are immutable. :c:func:`PyType_Ready`
automatically applies this flag to static types.
This bit is set for type objects that are immutable: type attributes cannot be set or deleted.
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated

:c:func:`PyType_Ready` automatically applies this flag to static types.

**Inheritance:**

Expand Down