Skip to content

Commit 9503e9a

Browse files
committed
Updated docs for Arguments.arguments()
1 parent 980a2d5 commit 9503e9a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

astroid/nodes/node_classes.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,13 @@ def fromlineno(self) -> int:
780780

781781
@cached_property
782782
def arguments(self):
783-
"""Get all the arguments for this node, including positional only and positional and keyword"""
783+
"""Get all the arguments for this node. This includes:
784+
* Positional only arguments
785+
* Positional arguments
786+
* Keyword arguments
787+
* Variable arguments (.e.g *args)
788+
* Keyword only arguments (e.g **kwargs)
789+
"""
784790
retval = list(itertools.chain((self.posonlyargs or ()), (self.args or ())))
785791
if self.vararg:
786792
retval.append(

0 commit comments

Comments
 (0)