summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-01-02 18:22:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-01-02 18:22:30 (GMT)
commit3a990c69b8d8420967010181096e103ebe92406b (patch)
treeb147b075cbf8959ff36a6833a0f69cee81f3c4a5 /Doc
parent487aedb77c9ef9a7cb5e42ae8b2141f310c5d8ef (diff)
downloadcpython-3a990c69b8d8420967010181096e103ebe92406b.zip
cpython-3a990c69b8d8420967010181096e103ebe92406b.tar.gz
cpython-3a990c69b8d8420967010181096e103ebe92406b.tar.bz2
remove brackets
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/inspect.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 625ea6e..7612544 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -752,7 +752,7 @@ Classes and functions
metatype is in use, cls will be the first element of the tuple.
-.. function:: getcallargs(func[, *args][, **kwds])
+.. function:: getcallargs(func, *args, **kwds)
Bind the *args* and *kwds* to the argument names of the Python function or
method *func*, as if it was called with them. For bound methods, bind also the