summaryrefslogtreecommitdiff
path: root/pylint/checkers/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/utils.py')
-rw-r--r--pylint/checkers/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pylint/checkers/utils.py b/pylint/checkers/utils.py
index ae4f69127..85a88f1bb 100644
--- a/pylint/checkers/utils.py
+++ b/pylint/checkers/utils.py
@@ -398,11 +398,9 @@ def is_attr_private(attrname):
def get_argument_from_call(callfunc_node, position=None, keyword=None):
"""Returns the specified argument from a function call.
-
- :param callfunc_node: Node representing a function call to check.
+ :param astroid.Call callfunc_node: Node representing a function call to check.
:param int position: position of the argument.
:param str keyword: the keyword of the argument.
-
:returns: The node representing the argument, None if the argument is not found.
:rtype: astroid.Name
:raises ValueError: if both position and keyword are None.