[Python-checkins] cpython (3.2): Fix typo when "PyObject*" was changed to "identifier"

kristjan.jonsson python-checkins at python.org
Fri Mar 23 14:01:20 CET 2012


http://hg.python.org/cpython/rev/b97964af7299
changeset:   75897:b97964af7299
branch:      3.2
parent:      75890:aff7ff2aae8c
user:        Kristján Valur Jónsson <kristjan at ccpgames.com>
date:        Fri Mar 23 12:50:53 2012 +0000
summary:
  Fix typo when "PyObject*" was changed to "identifier"

files:
  Python/future.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/future.c b/Python/future.c
--- a/Python/future.c
+++ b/Python/future.c
@@ -86,7 +86,7 @@
         */
 
         if (s->kind == ImportFrom_kind) {
-            identifier *modname = s->v.ImportFrom.module;
+            identifier modname = s->v.ImportFrom.module;
             if (modname &&
                 !PyUnicode_CompareWithASCIIString(modname, "__future__")) {
                 if (done) {

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list