You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Not sure why this is here, but fix it so it works.
This commit is contained in:
@@ -2,14 +2,15 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
from uncompyle6 import uncompyle
|
from uncompyle6.main import decompile
|
||||||
|
from xdis.magics import sysinfo2float
|
||||||
import sys, inspect
|
import sys, inspect
|
||||||
|
|
||||||
def uncompyle_test():
|
def uncompyle_test():
|
||||||
frame = inspect.currentframe()
|
frame = inspect.currentframe()
|
||||||
try:
|
try:
|
||||||
co = frame.f_code
|
co = frame.f_code
|
||||||
uncompyle(2.7, co, sys.stdout, 1, 1)
|
decompile(sysinfo2float(), co, sys.stdout, 1, 1)
|
||||||
print()
|
print()
|
||||||
finally:
|
finally:
|
||||||
del frame
|
del frame
|
||||||
|
Reference in New Issue
Block a user