summaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Compiler/Nodes.py
diff options
context:
space:
mode:
authorshadchin <[email protected]>2025-05-22 22:01:46 +0300
committershadchin <[email protected]>2025-05-22 22:15:38 +0300
commit523a8cd4f0e1be40af627a02a1a5b7d2a3fa92a7 (patch)
tree3914b20600eb3e1b20a0c7cd9fee2d473ee4b519 /contrib/tools/cython/Cython/Compiler/Nodes.py
parentd60f47d7590712a9608073b8451e3347e5ebc805 (diff)
Update Cython to 3.0.11
commit_hash:ad41766fcde35c98b754b17abb8523d40312b2a6
Diffstat (limited to 'contrib/tools/cython/Cython/Compiler/Nodes.py')
-rw-r--r--contrib/tools/cython/Cython/Compiler/Nodes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tools/cython/Cython/Compiler/Nodes.py b/contrib/tools/cython/Cython/Compiler/Nodes.py
index c2fcd9d6727..e1fe6ee56c9 100644
--- a/contrib/tools/cython/Cython/Compiler/Nodes.py
+++ b/contrib/tools/cython/Cython/Compiler/Nodes.py
@@ -3126,6 +3126,7 @@ class DefNode(FuncDefNode):
if scope is None:
scope = cfunc.scope
cfunc_type = cfunc.type
+ has_explicit_exc_clause=True
if len(self.args) != len(cfunc_type.args) or cfunc_type.has_varargs:
error(self.pos, "wrong number of arguments")
error(cfunc.pos, "previous declaration here")