diff Objects/moduleobject.c @ 76640:eb68502731dd

Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py. Thanks to Eric Snow for the patch.
author Brett Cannon <brett@python.org>
date Sun, 29 Apr 2012 14:38:11 -0400
parents 7109f31300fb
children 702009f3c0b1
line wrap: on
line diff
--- a/Objects/moduleobject.c	Sun Apr 29 19:46:19 2012 +0200
+++ b/Objects/moduleobject.c	Sun Apr 29 14:38:11 2012 -0400
@@ -285,7 +285,7 @@
     pos = 0;
     while (PyDict_Next(d, &pos, &key, &value)) {
         if (value != Py_None && PyUnicode_Check(key)) {
-            if (PyUnicode_READ_CHAR(key, 0) == '_' && 
+            if (PyUnicode_READ_CHAR(key, 0) == '_' &&
                 PyUnicode_READ_CHAR(key, 1) != '_') {
                 if (Py_VerboseFlag > 1) {
                     const char *s = _PyUnicode_AsString(key);