diff Python/symtable.c @ 69231:b6fe63c914e4

Issue #9904: fix and clarify some comments + fix indentation in symtable code
author Eli Bendersky <eliben@gmail.com>
date Sun, 10 Apr 2011 07:37:26 +0300
parents 3c9232a684ae
children 9b11cc4e2918
line wrap: on
line diff
--- a/Python/symtable.c	Sat Apr 09 19:41:31 2011 -0700
+++ b/Python/symtable.c	Sun Apr 10 07:37:26 2011 +0300
@@ -750,7 +750,7 @@
             goto error;
     }
 
-    /* Recursively call analyze_block() on each child block.
+    /* Recursively call analyze_child_block() on each child block.
 
        newbound, newglobal now contain the names visible in
        nested blocks.  The free variables in the children will
@@ -1205,9 +1205,9 @@
     case Raise_kind:
         if (s->v.Raise.exc) {
             VISIT(st, expr, s->v.Raise.exc);
-        if (s->v.Raise.cause) {
-        VISIT(st, expr, s->v.Raise.cause);
-        }
+            if (s->v.Raise.cause) {
+                VISIT(st, expr, s->v.Raise.cause);
+            }
         }
         break;
     case TryExcept_kind: