You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
pydisasm fixes
This commit is contained in:
@@ -12,8 +12,8 @@ program, ext = os.path.splitext(os.path.basename(__file__))
|
|||||||
|
|
||||||
__doc__ = """
|
__doc__ = """
|
||||||
Usage:
|
Usage:
|
||||||
{0} [OPTIONS]... FILE
|
%s [OPTIONS]... FILE
|
||||||
{0} [--help | -h | -V | --version]
|
%s [--help | -h | -V | --version]
|
||||||
|
|
||||||
Disassemble FILE with the instruction mangling that is done to
|
Disassemble FILE with the instruction mangling that is done to
|
||||||
assist uncompyle6 in parsing the instruction stream. For example
|
assist uncompyle6 in parsing the instruction stream. For example
|
||||||
@@ -22,9 +22,9 @@ BUILD_LIST have arguement counts appended to the instruction name, and
|
|||||||
COME_FROM instructions are inserted into the instruction stream.
|
COME_FROM instructions are inserted into the instruction stream.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
{0} foo.pyc
|
%s foo.pyc
|
||||||
{0} foo.py # same thing as above but find the file
|
%s foo.py # same thing as above but find the file
|
||||||
{0} foo.pyc bar.pyc # disassemble foo.pyc and bar.pyc
|
%s foo.pyc bar.pyc # disassemble foo.pyc and bar.pyc
|
||||||
|
|
||||||
See also `pydisasm' from the `xdis' package.
|
See also `pydisasm' from the `xdis' package.
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ Options:
|
|||||||
-V | --version show version and stop
|
-V | --version show version and stop
|
||||||
-h | --help show this message
|
-h | --help show this message
|
||||||
|
|
||||||
""" % (program, program)
|
""" % ((program,) * 5)
|
||||||
|
|
||||||
PATTERNS = ('*.pyc', '*.pyo')
|
PATTERNS = ('*.pyc', '*.pyo')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user