summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-23 14:36:02 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-23 14:36:02 (GMT)
commitf1b5ccb9937b8336078f023bf7deb6615a5e28c8 (patch)
treeab6ec047bdb5921d3fbe251092ad9cb6cdfd8951 /Doc/library/inspect.rst
parent28cff18dedaf994109a1c4c8f363a076941e1ba3 (diff)
downloadcpython-f1b5ccb9937b8336078f023bf7deb6615a5e28c8.zip
cpython-f1b5ccb9937b8336078f023bf7deb6615a5e28c8.tar.gz
cpython-f1b5ccb9937b8336078f023bf7deb6615a5e28c8.tar.bz2
Issue #13248: Remove inspect.getargspec from 3.6 (deprecated from 3.0)
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst18
1 files changed, 0 insertions, 18 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 66b9238..b5c4a7a 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -805,24 +805,6 @@ Classes and functions
classes using multiple inheritance and their descendants will appear multiple
times.
-
-.. function:: getargspec(func)
-
- Get the names and default values of a Python function's arguments. A
- :term:`named tuple` ``ArgSpec(args, varargs, keywords, defaults)`` is
- returned. *args* is a list of the argument names. *varargs* and *keywords*
- are the names of the ``*`` and ``**`` arguments or ``None``. *defaults* is a
- tuple of default argument values or ``None`` if there are no default
- arguments; if this tuple has *n* elements, they correspond to the last
- *n* elements listed in *args*.
-
- .. deprecated:: 3.0
- Use :func:`signature` and
- :ref:`Signature Object <inspect-signature-object>`, which provide a
- better introspecting API for callables. This function will be removed
- in Python 3.6.
-
-
.. function:: getfullargspec(func)
Get the names and default values of a Python function's arguments. A