summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authoraws-taylor <57725958+aws-taylor@users.noreply.github.com>2020-01-22 22:14:47 -0800
committerStefan Behnel <stefan_ml@behnel.de>2020-01-23 07:14:47 +0100
commit67f3aebb56744bc96ead6e5b35d2f45f2ca534fe (patch)
tree93f0a484064f32141248922a4b874940e669348a /Cython/Compiler/ModuleNode.py
parentca5d90efe925b2bd988fce8af042d82218ae5a7d (diff)
downloadcython-67f3aebb56744bc96ead6e5b35d2f45f2ca534fe.tar.gz
Remove stray ";" from limited API code to work with -Wpedantic (GH-3326)
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index 5f7e78a53..2a9e1090e 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -2497,10 +2497,10 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
module_state.putln("#endif")
module_state_defines.putln("#endif")
module_state_clear.putln("return 0;")
- module_state_clear.putln("};")
+ module_state_clear.putln("}")
module_state_clear.putln("#endif")
module_state_traverse.putln("return 0;")
- module_state_traverse.putln("};")
+ module_state_traverse.putln("}")
module_state_traverse.putln("#endif")
def generate_module_state_defines(self, env, code):