Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c2a4e67

Browse files
Fix Ifatty line_number arg RaiseNode bug
1 parent c2e4daf commit c2a4e67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎pyt/node_types.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,13 @@ def __init__(self, label):
138138
class RaiseNode(Node, ConnectToExitNode):
139139
"""CFG Node that represents a Raise statement."""
140140

141-
def __init__(self, ast_node, *, line_number, path):
141+
def __init__(self, ast_node, *, path):
142142
label_visitor = LabelVisitor()
143143
label_visitor.visit(ast_node)
144144

145145
super().__init__(
146146
label_visitor.result,
147147
ast_node,
148-
line_number=line_number,
149148
path=path
150149
)
151150

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /