We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 799f76f commit 7a29568Copy full SHA for 7a29568
src/blib2to3/pgen2/parse.py
@@ -54,7 +54,7 @@ def stack_copy(
54
stack: List[Tuple[DFAS, int, RawNode]]
55
) -> List[Tuple[DFAS, int, RawNode]]:
56
"""Nodeless stack copy."""
57
- return [(copy.deepcopy(dfa), label, DUMMY_NODE) for dfa, label, _ in stack]
+ return [(dfa, label, DUMMY_NODE) for dfa, label, _ in stack]
58
59
60
class Recorder:
0 commit comments