Skip to content

Commit 4efb411

Browse files
committed
Updated docs for Arguments.arguments()
1 parent a994b38 commit 4efb411

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
@@ -779,7 +779,13 @@ def fromlineno(self) -> int:
779779

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

0 commit comments

Comments
 (0)