Added the new "TRY" ast token to the py3flakes checker. 5_2_x

Thu, 11 Oct 2012 19:09:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Oct 2012 19:09:10 +0200
branch
5_2_x
changeset 2134
b29255468359
parent 2125
091c0c716635
child 2135
0d6de739a82b

Added the new "TRY" ast token to the py3flakes checker.
(grafted from 8e20a87f9809ec1c564026b1f00eca61f9f85d4e)

Utilities/py3flakes/checker.py file | annotate | diff | comparison | revisions
--- a/Utilities/py3flakes/checker.py	Mon Oct 08 20:56:48 2012 +0200
+++ b/Utilities/py3flakes/checker.py	Thu Oct 11 19:09:10 2012 +0200
@@ -303,7 +303,7 @@
 
     # "stmt" type nodes
     RETURN = DELETE = PRINT = WHILE = IF = WITH = WITHITEM = RAISE = \
-    TRYEXCEPT = TRYFINALLY = ASSERT = EXEC = EXPR = handleChildren
+    TRY = TRYEXCEPT = TRYFINALLY = ASSERT = EXEC = EXPR = handleChildren
     
     # "expr" type nodes
     BOOLOP = BINOP = UNARYOP = IFEXP = DICT = SET = YIELD = COMPARE = \

eric ide

mercurial