Skip to content

Commit

Permalink
Cut unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdrozd committed Jan 16, 2024
1 parent 958f376 commit d945a85
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tm/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class MacroProg:
color_to_tape_cache: dict[Color, tuple[Color, ...]]
tape_to_color_cache: dict[tuple[Color, ...], Color]

_state: State | None

def __init__(self, program: str | GetInstr):
self.program = program

Expand Down Expand Up @@ -61,8 +59,6 @@ def __init__(self, program: str | GetInstr):
self.color_to_tape_cache = {}
self.tape_to_color_cache = {}

self._state = None

def __getitem__(self, slot: Slot) -> Instr | None:
try:
instr = self.instrs[slot]
Expand Down

0 comments on commit d945a85

Please sign in to comment.