You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
merge hell
This commit is contained in:
@@ -22,7 +22,6 @@ scanners, e.g. for Python 2.7 or 3.4.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from abc import ABC
|
||||
from array import array
|
||||
from collections import namedtuple
|
||||
|
||||
@@ -109,7 +108,7 @@ class Code:
|
||||
self._tokens, self._customize = scanner.ingest(co, classname, show_asm=show_asm)
|
||||
|
||||
|
||||
class Scanner(ABC):
|
||||
class Scanner:
|
||||
def __init__(self, version: tuple, show_asm=None, is_pypy=False):
|
||||
self.version = version
|
||||
self.show_asm = show_asm
|
||||
|
@@ -100,7 +100,7 @@ class ComprehensionMixin:
|
||||
self,
|
||||
node,
|
||||
iter_index,
|
||||
code_index = -5,
|
||||
code_index=-5,
|
||||
):
|
||||
p = self.prec
|
||||
self.prec = PRECEDENCE["lambda_body"] - 1
|
||||
|
Reference in New Issue
Block a user