mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-43698: do not use ...
as argument name in docs (GH-30502)
This commit is contained in:
parent
84f093918a
commit
b9d8980d89
4 changed files with 16 additions and 19 deletions
|
@ -248,7 +248,7 @@ are always available. They are listed here in alphabetical order.
|
|||
|
||||
class C:
|
||||
@classmethod
|
||||
def f(cls, arg1, arg2, ...): ...
|
||||
def f(cls, arg1, arg2): ...
|
||||
|
||||
The ``@classmethod`` form is a function :term:`decorator` -- see
|
||||
:ref:`function` for details.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue