Skip to content

Commit 77b4a65

Browse files
bpo-38391: Fixing a typo for Py_DECREF (GH-16616)
(cherry picked from commit 038503e) Co-authored-by: Krishna Oza <krishoza15sep@gmail.com>
1 parent 50b8d57 commit 77b4a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/extending/newtypes_tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ set to *NULL*. ::
182182
Py_INCREF(&CustomType);
183183
if (PyModule_AddObject(m, "Custom", (PyObject *) &CustomType) < 0) {
184184
Py_DECREF(&CustomType);
185-
PY_DECREF(m);
185+
Py_DECREF(m);
186186
return NULL;
187187
}
188188

0 commit comments

Comments
 (0)