summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-01-26 12:42:39 (GMT)
committerGitHub <noreply@github.com>2022-01-26 12:42:39 (GMT)
commit49971b2d1890c15eeec2d83ea3e8d178f266c4f9 (patch)
tree7f9aaf37830724712c21ecf69536f30b8f2926f3 /Doc/glossary.rst
parent04772cd6f164c1219c8c74d55626ba114f01aa96 (diff)
downloadcpython-49971b2d1890c15eeec2d83ea3e8d178f266c4f9.zip
cpython-49971b2d1890c15eeec2d83ea3e8d178f266c4f9.tar.gz
cpython-49971b2d1890c15eeec2d83ea3e8d178f266c4f9.tar.bz2
bpo-43698: do not use `...` as argument name in docs (GH-30502)
(cherry picked from commit b9d8980d89bfaa4bf16d60f0488adcc9d2cbf5ef) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index da9dc9c..f759c3f 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -278,12 +278,12 @@ Glossary
The decorator syntax is merely syntactic sugar, the following two
function definitions are semantically equivalent::
- def f(...):
+ def f(arg):
...
f = staticmethod(f)
@staticmethod
- def f(...):
+ def f(arg):
...
The same concept exists for classes, but is less commonly used there. See