diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-14 03:35:09 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-14 03:35:09 (GMT) |
commit | 8429b6784bd7447055c7880e1b84954cd27bd0a3 (patch) | |
tree | 9a95f710bda3ba07be9ac91d89007f5b70e9c6fc /Doc/library/inspect.rst | |
parent | c2085dd765d3fcb46e1e8ee7e908bae8637827e9 (diff) | |
parent | e0add764688a3f3237749e0c2830b669d2c76ca0 (diff) | |
download | cpython-8429b6784bd7447055c7880e1b84954cd27bd0a3.zip cpython-8429b6784bd7447055c7880e1b84954cd27bd0a3.tar.gz cpython-8429b6784bd7447055c7880e1b84954cd27bd0a3.tar.bz2 |
#15831: merge with 3.2
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r-- | Doc/library/inspect.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 9b7ae9c..d1d2dea 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -471,7 +471,7 @@ function. Returns :class:`BoundArguments`, or raises a :exc:`TypeError` if the passed arguments do not match the signature. - .. method:: Signature.replace([parameters], *, [return_annotation]) + .. method:: Signature.replace(*[, parameters][, return_annotation]) Create a new Signature instance based on the instance replace was invoked on. It is possible to pass different ``parameters`` and/or @@ -565,7 +565,7 @@ function. ... print('Parameter:', param) Parameter: c - .. method:: Parameter.replace(*, [name], [kind], [default], [annotation]) + .. method:: Parameter.replace(*[, name][, kind][, default][, annotation]) Create a new Parameter instance based on the instance replaced was invoked on. To override a :class:`Parameter` attribute, pass the corresponding |