Skip to content

Commit

Permalink
gh-107955 Remove old comment about increasing the reference count in …
Browse files Browse the repository at this point in the history
…usage of Py_None (#107993)
  • Loading branch information
brandonardenwalli authored Aug 16, 2023
1 parent abd9cc5 commit f609987
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Include/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,6 @@ static inline PyObject* _Py_XNewRef(PyObject *obj)
/*
_Py_NoneStruct is an object of undefined type which can be used in contexts
where NULL (nil) is not suitable (since NULL often means 'error').
Don't forget to apply Py_INCREF() when returning this value!!!
*/
PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
#define Py_None (&_Py_NoneStruct)
Expand Down

0 comments on commit f609987

Please sign in to comment.