You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
"return locals()" change to track grammar change
This commit is contained in:
@@ -12,3 +12,9 @@ class abstractclassmethod(classmethod):
|
||||
def __init__(self, callable):
|
||||
callable.__isabstractmethod__ = True
|
||||
super().__init__(callable)
|
||||
|
||||
# From 2.7.17 test_abc.py
|
||||
# Bug was handling OldstyleClass correctly without
|
||||
# a "return locals() but with a "pass"
|
||||
class OldstyleClass:
|
||||
pass
|
||||
|
Reference in New Issue
Block a user