Skip to content

Commit

Permalink
Fix missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
lysnikolaou committed Aug 7, 2024
1 parent 03e9add commit a944424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cython/Compiler/ExprNodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3123,11 +3123,11 @@ def generate_next_sequence_item(self, test_name, result_name, code):
if test_name == 'List':
code.putln(f"{result_name} = __Pyx_PyList_GetItemRef({self.py_result()}, {self.counter_cname});")
code.putln(code.error_goto_if_null(result_name, self.pos))
code.putln(f"__Pyx_GOTREF({result_name})")
code.putln(f"__Pyx_GOTREF({result_name});")
else: # Tuple
code.putln(f"{result_name} = PyTuple_GET_ITEM({self.py_result()}, {self.counter_cname});")
code.putln(code.error_goto_if_neg('0', self.pos)) # Use the error label to avoid C compiler warnings if we only use it below.
code.putln(f"__Pyx_INCREF({result_name})")
code.putln(f"__Pyx_INCREF({result_name});")
code.putln(f"{self.counter_cname}{inc_dec};")
code.putln("#else")
code.putln(
Expand Down

0 comments on commit a944424

Please sign in to comment.