Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ccdccd

Browse files
committed
Add a note that Py_None needs the same reference count treatment as any
other PyObject *. This closes SF bug #494007.
1 parent f981617 commit 6ccdccd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/api/concrete.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ \subsection{The None Object \label{noneObject}}
7474

7575
\begin{cvardesc}{PyObject*}{Py_None}
7676
The Python \code{None} object, denoting lack of value. This object
77-
has no methods.
77+
has no methods. It needs to be treated just like any other object
78+
with respect to reference counts.
7879
\end{cvardesc}
7980

8081

0 commit comments

Comments
 (0)