diff options
author | Raymond Hettinger <python@rcn.com> | 2016-08-31 15:44:26 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-08-31 15:44:26 (GMT) |
commit | 74942c92525e549e47a483706a1518b37ce1f98d (patch) | |
tree | ff8be55442ed6201a955aa460d1c176fe9f694f4 /Python/import.c | |
parent | 8890bb22646d8207f5504ffbc258798e8cc328fa (diff) | |
parent | f0afe77c52971e17e559ae4e7889bf353fccffb5 (diff) | |
download | cpython-74942c92525e549e47a483706a1518b37ce1f98d.zip cpython-74942c92525e549e47a483706a1518b37ce1f98d.tar.gz cpython-74942c92525e549e47a483706a1518b37ce1f98d.tar.bz2 |
Merge
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index f3aa9d4..3bac5b8 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1047,7 +1047,7 @@ _imp_create_builtin(PyObject *module, PyObject *spec) mod = _PyImport_FindExtensionObject(name, name); if (mod || PyErr_Occurred()) { Py_DECREF(name); - Py_INCREF(mod); + Py_XINCREF(mod); return mod; } |