You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Split out marhsal and disassemble code and spell disassemble correctly.
Fix some lint issues
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
from __future__ import print_function
|
||||
"""
|
||||
Python 3.2 bytecode scanner/deparser
|
||||
|
||||
'''
|
||||
Copyright (c) 1999 John Aycock
|
||||
Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||
Copyright (c) 2005 by Dan Pascu <dan@windowmaker.org>
|
||||
Copyright (c) 2015 by Rocky Bernstein
|
||||
|
||||
See main module for license.
|
||||
'''
|
||||
|
||||
This overlaps Python's 3.2's dis module, but it can be run from
|
||||
Python3 and other versions of Python. Also, we save token information
|
||||
for later use in deparsing.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import dis, marshal
|
||||
from collections import namedtuple
|
||||
|
Reference in New Issue
Block a user