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
Use NULL rather than "omitted" for a C field
  • Loading branch information
encukou committed Jan 24, 2024
commit aefc58c3535987153e5cd500ead73dfbd8ac9ebb
3 changes: 2 additions & 1 deletion Doc/c-api/structures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,8 @@ Defining Getters and Setters

.. c:member:: setter set

Optional C function to set or delete the attribute, if omitted the attribute is readonly.
Optional C function to set or delete the attribute.
If ``NULL``, the attribute is readonly.

.. c:member:: const char* doc

Expand Down