summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-06-01 08:38:24 (GMT)
committerGitHub <noreply@github.com>2019-06-01 08:38:24 (GMT)
commit70c5f2ae6e6a07d44a8d3f3202ea01bf697e05db (patch)
tree006049ed0835e9e68cd46cf7717027a0fe422436 /Doc/library/functools.rst
parent2085bd0877e17ad4d98a4586d5eabb6faecbb190 (diff)
downloadcpython-70c5f2ae6e6a07d44a8d3f3202ea01bf697e05db.zip
cpython-70c5f2ae6e6a07d44a8d3f3202ea01bf697e05db.tar.gz
cpython-70c5f2ae6e6a07d44a8d3f3202ea01bf697e05db.tar.bz2
Use more PEP 570 syntax in the documentation. (GH-13720)
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 654a3ef..3a0b554 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -252,7 +252,7 @@ The :mod:`functools` module defines the following functions:
18
-.. class:: partialmethod(func, *args, **keywords)
+.. class:: partialmethod(func, /, *args, **keywords)
Return a new :class:`partialmethod` descriptor which behaves
like :class:`partial` except that it is designed to be used as a method