Improve Python3 class definition handling

This commit is contained in:
rocky
2015-12-24 19:21:36 -05:00
parent d2406e9d57
commit c0d50c4d96
8 changed files with 109 additions and 18 deletions

View File

@@ -8,8 +8,8 @@
# classdef ::= LOAD_CONST expr mkfunc CALL_FUNCTION_0 BUILD_CLASS designator
# mkfunc ::= LOAD_CONST MAKE_FUNCTION_0
# class A:
# pass
class A:
pass
class B(Exception):
pass

View File

@@ -2,3 +2,5 @@ try:
pass
except ImportError as exc:
pass
finally:
del exc