mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-02-17 11:50:57 +00:00
Not sure why this is here, but fix it so it works.
This commit is contained in:
parent
c96e796ff5
commit
7d1ecf957c
@ -2,14 +2,15 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from uncompyle6 import uncompyle
|
||||
from uncompyle6.main import decompile
|
||||
from xdis.magics import sysinfo2float
|
||||
import sys, inspect
|
||||
|
||||
def uncompyle_test():
|
||||
frame = inspect.currentframe()
|
||||
try:
|
||||
co = frame.f_code
|
||||
uncompyle(2.7, co, sys.stdout, 1, 1)
|
||||
decompile(sysinfo2float(), co, sys.stdout, 1, 1)
|
||||
print()
|
||||
finally:
|
||||
del frame
|
||||
|
Loading…
x
Reference in New Issue
Block a user