diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-04-11 13:50:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 13:50:25 (GMT) |
commit | 50b4b1598411ed393f47ce7f4fffbe5b9063cd42 (patch) | |
tree | c30a5e53040a4dfe321e09af0a7a5ce932c3e8cf /Doc/library | |
parent | 55c99d97e14618dfce41472dd4446f763b0da13f (diff) | |
download | cpython-50b4b1598411ed393f47ce7f4fffbe5b9063cd42.zip cpython-50b4b1598411ed393f47ce7f4fffbe5b9063cd42.tar.gz cpython-50b4b1598411ed393f47ce7f4fffbe5b9063cd42.tar.bz2 |
gh-87864: Use correct function definition syntax in the docs (#103312)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 8797485..7792e59 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1681,7 +1681,7 @@ are always available. They are listed here in alphabetical order. class C: @staticmethod - def f(arg1, arg2, ...): ... + def f(arg1, arg2, argN): ... The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:`function` for details. |