Skip to content

Commit cdffd74

Browse files
committed
Fix accidental code removal.
1 parent 04f35f1 commit cdffd74

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Doc/c-api/allocation.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ Allocating Objects on the Heap
5858
use :c:func:`PyObject_GC_NewVar` instead.
5959
6060
61+
.. c:var:: PyObject _Py_NoneStruct
62+
63+
Object which is visible in Python as ``None``. This should only be accessed
64+
using the :c:macro:`Py_None` macro, which evaluates to a pointer to this
65+
object.
66+
67+
68+
.. seealso::
69+
70+
:ref:`moduleobjects`
71+
To allocate and create extension modules.
72+
73+
6174
Deprecated aliases
6275
^^^^^^^^^^^^^^^^^^
6376

0 commit comments

Comments
 (0)