@@ -220,7 +220,6 @@ def __repr__(self) -> str:
220220
221221
222222class ConcreteBytecode (_bytecode ._BaseBytecodeList [Union [ConcreteInstr , SetLineno ]]):
223-
224223 #: List of "constant" objects for the bytecode
225224 consts : List
226225
@@ -297,7 +296,6 @@ def __eq__(self, other: Any) -> bool:
297296 def from_code (
298297 code : types .CodeType , * , extended_arg : bool = False
299298 ) -> "ConcreteBytecode" :
300-
301299 instructions : MutableSequence [Union [SetLineno , ConcreteInstr ]]
302300 # For Python 3.11+ we use dis to extract the detailed location information at
303301 # reduced maintenance cost.
@@ -470,7 +468,6 @@ def _pack_linetable(
470468 # then use as many 254 offset with no line change to reduce the offset to
471469 # less than 254.
472470 if doff > 254 :
473-
474471 linetable .append (struct .pack ("Bb" , 254 , dlineno ))
475472 doff -= 254
476473
@@ -692,7 +689,6 @@ def _assemble_locations(
692689
693690 # We track the last set lineno to be able to compute deltas
694691 for _ , i_size , new_lineno , location in iter_in :
695-
696692 # Infer the line if location is None
697693 location = location or InstrLocation (new_lineno , None , None , None )
698694
@@ -1066,7 +1062,6 @@ def to_bytecode(
10661062
10671063
10681064class _ConvertBytecodeToConcrete :
1069-
10701065 # XXX document attributes
10711066
10721067 #: Default number of passes of compute_jumps() before giving up. Refer to
@@ -1117,7 +1112,6 @@ def concrete_instructions(self) -> None:
11171112 free_instrs : List [int ] = []
11181113
11191114 for instr in self .bytecode :
1120-
11211115 # Enforce proper use of CACHE opcode on Python 3.11+ by checking we get the
11221116 # number we expect or directly generate the needed ones.
11231117 if isinstance (instr , Instr ) and instr .name == "CACHE" :
@@ -1315,7 +1309,6 @@ def compute_jumps(self) -> bool:
13151309
13161310 # Resolve labels for exception handling entries
13171311 for tb , entry in self .exception_handling_blocks .items ():
1318-
13191312 # Set the offset for the start and end offset from the instruction
13201313 # index stored when assembling the concrete instructions.
13211314 entry .start_offset = instruction_offsets [entry .start_offset ]
0 commit comments