aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-06-05 18:22:31 +0300
committerGitHub <noreply@github.com>2019-06-05 18:22:31 +0300
commit142566c028720934325f0b7fe28680afd046e00f (patch)
tree021875972731bf9271bf07cc05d17f15866ded7a /Doc/library/curses.rst
parentbpo-37158: Simplify and speed-up statistics.fmean() (GH-13832) (diff)
downloadcpython-142566c028720934325f0b7fe28680afd046e00f.tar.gz
cpython-142566c028720934325f0b7fe28680afd046e00f.tar.bz2
cpython-142566c028720934325f0b7fe28680afd046e00f.zip
[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)
Turn deprecation warnings added in 3.8 into TypeError.
Diffstat (limited to 'Doc/library/curses.rst')
-rw-r--r--Doc/library/curses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index 7d1e7538a29..c88d3520e98 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -656,7 +656,7 @@ The module :mod:`curses` defines the following functions:
foreground color on the default background.
-.. function:: wrapper(func, ...)
+.. function:: wrapper(func, /, *args, **kwargs)
Initialize curses and call another callable object, *func*, which should be the
rest of your curses-using application. If the application raises an exception,