mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Change to a Py_XDECREF and fix some whitespace.
Found using Clang's static analyzer.
This commit is contained in:
parent
1771ecf879
commit
c33e82d23c
1 changed files with 8 additions and 8 deletions
|
@ -701,7 +701,7 @@ initmain(void)
|
||||||
if (bimod == NULL ||
|
if (bimod == NULL ||
|
||||||
PyDict_SetItemString(d, "__builtins__", bimod) != 0)
|
PyDict_SetItemString(d, "__builtins__", bimod) != 0)
|
||||||
Py_FatalError("can't add __builtins__ to __main__");
|
Py_FatalError("can't add __builtins__ to __main__");
|
||||||
Py_DECREF(bimod);
|
Py_XDECREF(bimod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue