summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-04-30 01:01:14 (GMT)
committerGitHub <noreply@github.com>2019-04-30 01:01:14 (GMT)
commitd5d2b4546939b98244708e5bb0cfccd55b99d244 (patch)
tree2a98e93bcad785c97f88154d275a4662afa40f8c /Doc/library/inspect.rst
parent81c5a905951aaf46f292eb459c32649c0b74ef61 (diff)
downloadcpython-d5d2b4546939b98244708e5bb0cfccd55b99d244.zip
cpython-d5d2b4546939b98244708e5bb0cfccd55b99d244.tar.gz
cpython-d5d2b4546939b98244708e5bb0cfccd55b99d244.tar.bz2
bpo-36751: Deprecate getfullargspec and report positional-only args as regular args (GH-13016)
* bpo-36751: Deprecate getfullargspec and report positional-only args as regular args * Use inspect.signature in testhelpers
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 81824dd..d12f122 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -948,6 +948,11 @@ Classes and functions
APIs. This function is retained primarily for use in code that needs to
maintain compatibility with the Python 2 ``inspect`` module API.
+ .. deprecated:: 3.8
+ Use :func:`signature` and
+ :ref:`Signature Object <inspect-signature-object>`, which provide a
+ better introspecting API for callables.
+
.. versionchanged:: 3.4
This function is now based on :func:`signature`, but still ignores
``__wrapped__`` attributes and includes the already bound first