Skip to content

Commit 77df68d

Browse files
committed
Fix unnecessary nonlocal.
1 parent 57b1baa commit 77df68d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v7/latex/latex/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def add_to_current_word(part):
883883
current_word.parts.append(part)
884884

885885
def add_to_current_block(part):
886-
nonlocal current_words, current_block
886+
nonlocal current_block
887887
flush_words()
888888
if current_block is None:
889889
current_block = tree.Block()

0 commit comments

Comments
 (0)