10000 bpo-38391: Fixing a typo for Py_DECREF (GH-16616) · python/cpython@038503e · GitHub
[go: up one dir, main page]

Skip to content

Commit 038503e

Browse files
kmozazhangyangyu
authored andcommitted
bpo-38391: Fixing a typo for Py_DECREF (GH-16616)
1 parent b96145a commit 038503e

File tree

1 file changed

+1
-1
l C2D3 ines 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)
0