You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Revise for xdis 3.6.0 ...
Simplify xdis imports where we can. Blacken (most) of those buffers too
This commit is contained in:
@@ -15,9 +15,15 @@
|
||||
|
||||
from collections import deque
|
||||
|
||||
from xdis import Bytecode, iscode, findlinestarts, load_file, load_module
|
||||
from xdis.main import get_opcode
|
||||
from xdis.bytecode import offset2line
|
||||
from xdis import (
|
||||
Bytecode,
|
||||
iscode,
|
||||
findlinestarts,
|
||||
get_opcode,
|
||||
offset2line,
|
||||
load_file,
|
||||
load_module,
|
||||
)
|
||||
|
||||
|
||||
def line_number_mapping(pyc_filename, src_filename):
|
||||
|
Reference in New Issue
Block a user