diff options
author | da-woods <dw-git@d-woods.co.uk> | 2022-12-08 21:48:17 +0000 |
---|---|---|
committer | da-woods <dw-git@d-woods.co.uk> | 2022-12-08 21:48:17 +0000 |
commit | 88ba54a6f8bd103b49f83a87a4329013cc7aa0e3 (patch) | |
tree | 6f3c82e799b6fa4de9a6cd76a3ecd12447d08dbc /Cython/Compiler | |
parent | f0fab87c193ba3acd17010cc07183583b50987b6 (diff) | |
download | cython-88ba54a6f8bd103b49f83a87a4329013cc7aa0e3.tar.gz |
Fix error compiling Cython
Diffstat (limited to 'Cython/Compiler')
-rw-r--r-- | Cython/Compiler/FlowControl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cython/Compiler/FlowControl.py b/Cython/Compiler/FlowControl.py index eba466077..d37744609 100644 --- a/Cython/Compiler/FlowControl.py +++ b/Cython/Compiler/FlowControl.py @@ -1004,7 +1004,8 @@ class ControlFlowAnalysis(CythonTransform): def visit_PatternNode(self, node): # avoid visiting anything that might be a target (since they're # handled elsewhere) - self.visitchildren(node, exclude=["as_targets", "target", "double_star_capture_target"]) + self.visitchildren(node, attrs=None, + exclude=["as_targets", "target", "double_star_capture_target"]) return node def visit_AssertStatNode(self, node): |