merge hell

This commit is contained in:
rocky
2024-03-02 05:07:12 -05:00
parent ac9c7d1047
commit 7c91694cf9
2 changed files with 2 additions and 3 deletions

View File

@@ -22,7 +22,6 @@ scanners, e.g. for Python 2.7 or 3.4.
""" """
import sys import sys
from abc import ABC
from array import array from array import array
from collections import namedtuple from collections import namedtuple
@@ -109,7 +108,7 @@ class Code:
self._tokens, self._customize = scanner.ingest(co, classname, show_asm=show_asm) 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): def __init__(self, version: tuple, show_asm=None, is_pypy=False):
self.version = version self.version = version
self.show_asm = show_asm self.show_asm = show_asm

View File

@@ -100,7 +100,7 @@ class ComprehensionMixin:
self, self,
node, node,
iter_index, iter_index,
code_index = -5, code_index=-5,
): ):
p = self.prec p = self.prec
self.prec = PRECEDENCE["lambda_body"] - 1 self.prec = PRECEDENCE["lambda_body"] - 1