You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Improve Python3 class definition handling
This commit is contained in:
@@ -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
|
||||
|
@@ -2,3 +2,5 @@ try:
|
||||
pass
|
||||
except ImportError as exc:
|
||||
pass
|
||||
finally:
|
||||
del exc
|
||||
|
Reference in New Issue
Block a user