Start changing API to make version optional...

and use debug option dictionary
This commit is contained in:
rocky
2018-02-27 11:42:29 -05:00
parent 55a10d9e20
commit 68692abaf6
3 changed files with 40 additions and 12 deletions

View File

@@ -55,7 +55,10 @@ from uncompyle6.main import decompile_file
uncompyle_file = decompile_file
# Conventience functions so you can say:
# from uncompyle6 import (deparse_code, deparse_code2str)
# from uncompyle6 import (code_deparse, deparse_code2str)
deparse_code = uncompyle6.semantics.pysource.deparse_code
code_deparse = uncompyle6.semantics.pysource.code_deparse
deparse_code2str = uncompyle6.semantics.pysource.deparse_code2str
# This is deprecated:
deparse_code = uncompyle6.semantics.pysource.deparse_code