[Python-checkins] cpython (2.7): fix error check

benjamin.peterson python-checkins at python.org
Thu Jan 16 22:56:29 CET 2014


http://hg.python.org/cpython/rev/6eed57083a37
changeset: 88513:6eed57083a37
branch: 2.7
parent: 88508:334116bb2939
user: Benjamin Peterson <benjamin at python.org>
date: Thu Jan 16 16:56:22 2014 -0500
summary:
 fix error check
files:
 Python/symtable.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/symtable.c b/Python/symtable.c
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -468,7 +468,7 @@
 */
 if (PyDict_SetItem(scope, name, w) < 0)
 goto error;
- if (!PyDict_DelItem(free, name) < 0)
+ if (PyDict_DelItem(free, name) < 0)
 goto error;
 }
 success = 1;
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /