summaryrefslogtreecommitdiffstats
path: root/Doc/library/trace.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-06-05 15:22:31 (GMT)
committerGitHub <noreply@github.com>2019-06-05 15:22:31 (GMT)
commit142566c028720934325f0b7fe28680afd046e00f (patch)
tree021875972731bf9271bf07cc05d17f15866ded7a /Doc/library/trace.rst
parent6c01ebcc0dfc6be22950fabb46bdc10dcb6202c9 (diff)
downloadcpython-142566c028720934325f0b7fe28680afd046e00f.zip
cpython-142566c028720934325f0b7fe28680afd046e00f.tar.gz
cpython-142566c028720934325f0b7fe28680afd046e00f.tar.bz2
[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/trace.rst')
-rw-r--r--Doc/library/trace.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/trace.rst b/Doc/library/trace.rst
index 85fec68..c2732d9 100644
--- a/Doc/library/trace.rst
+++ b/Doc/library/trace.rst
@@ -166,7 +166,7 @@ Programmatic Interface
environments. If not defined, *globals* and *locals* default to empty
dictionaries.
- .. method:: runfunc(func, *args, **kwds)
+ .. method:: runfunc(func, /, *args, **kwds)
Call *func* with the given arguments under control of the :class:`Trace`
object with the current tracing parameters.