summaryrefslogtreecommitdiff
path: root/astroid/nodes/node_ng.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/nodes/node_ng.py')
-rw-r--r--astroid/nodes/node_ng.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/nodes/node_ng.py b/astroid/nodes/node_ng.py
index 761b2800..19420c7f 100644
--- a/astroid/nodes/node_ng.py
+++ b/astroid/nodes/node_ng.py
@@ -355,7 +355,7 @@ class NodeNG:
last_child = self.last_child()
if last_child is None:
return self.fromlineno
- return last_child.tolineno # pylint: disable=no-member
+ return last_child.tolineno
def _fixed_source_line(self) -> Optional[int]:
"""Attempt to find the line that this node appears on.