summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2021-01-23 11:56:18 +0100
committerhippo91 <guillaume.peillex@gmail.com>2021-01-23 11:56:18 +0100
commitded22ec02678d2bb35684093d307cca4efcf5c5e (patch)
tree7b6590733bc5bd0b5f65d04b087f80252b7a6ddf
parent1bd5976486336dc3e500a59d7df33f9057f28022 (diff)
downloadastroid-git-ded22ec02678d2bb35684093d307cca4efcf5c5e.tar.gz
Corrects a comment concerning node type as suggested by @PIerre-Sassoulas
-rw-r--r--astroid/brain/brain_type.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/brain_type.py b/astroid/brain/brain_type.py
index c8b89a09..4e82813f 100644
--- a/astroid/brain/brain_type.py
+++ b/astroid/brain/brain_type.py
@@ -29,7 +29,7 @@ def _looks_like_type_subscript(node):
Try to figure out if a Name node is used inside a type related subscript
:param node: node to check
- :type node: nodes.Name
+ :type node: astroid.node_classes.NodeNG
:return: true if the node is a Name node inside a type related subscript
:rtype: bool
"""