@@ -481,7 +481,7 @@ Expressions
481
481
Comparison operator tokens.
482
482
483
483
484
- .. class :: Call(func, args, keywords, starargs, kwargs )
484
+ .. class :: Call(func, args, keywords)
485
485
486
486
A function call. ``func `` is the function, which will often be a
487
487
:class: `Name ` or :class: `Attribute ` object. Of the arguments:
@@ -491,7 +491,7 @@ Expressions
491
491
arguments passed by keyword.
492
492
493
493
When creating a ``Call `` node, ``args `` and ``keywords `` are required, but
494
- they can be empty lists. `` starargs `` and `` kwargs `` are optional.
494
+ they can be empty lists.
495
495
496
496
.. doctest ::
497
497
@@ -1820,7 +1820,7 @@ Function and class definitions
1820
1820
type_ignores=[])
1821
1821
1822
1822
1823
- .. class :: ClassDef(name, bases, keywords, starargs, kwargs, body, decorator_list)
1823
+ .. class :: ClassDef(name, bases, keywords, body, decorator_list)
1824
1824
1825
1825
A class definition.
1826
1826
@@ -1829,9 +1829,6 @@ Function and class definitions
1829
1829
* ``keywords `` is a list of :class: `keyword ` nodes, principally for 'metaclass'.
1830
1830
Other keywords will be passed to the metaclass, as per `PEP-3115
1831
1831
<https://peps.python.org/pep-3115/> `_.
1832
- * ``starargs `` and ``kwargs `` are each a single node, as in a function call.
1833
- starargs will be expanded to join the list of base classes, and kwargs will
1834
- be passed to the metaclass.
1835
1832
* ``body `` is a list of nodes representing the code within the class
1836
1833
definition.
1837
1834
* ``decorator_list `` is a list of nodes, as in :class: `FunctionDef `.
0 commit comments