[Python-checkins] bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536)

Yury Selivanov webhook-mailer at python.org
Fri Jun 8 12:07:55 EDT 2018


https://github.com/python/cpython/commit/4f54867e29af93779922ff23df542f2d5df4c4ee
commit: 4f54867e29af93779922ff23df542f2d5df4c4ee
branch: master
author: Dong-hee Na <donghee.na92 at gmail.com>
committer: Yury Selivanov <yury at magic.io>
date: 2018-06-08T12:07:52-04:00
summary:

bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536)

files:
A Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst
M Doc/library/inspect.rst

diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 37736ef17948..e33876b98c1d 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -756,6 +756,8 @@ function.
 
       Describes a enum value of Parameter.kind.
 
+      .. versionadded:: 3.8
+
       Example: print all descriptions of arguments::
 
          >>> def foo(a, b, *, c, d=10):
diff --git a/Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst b/Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst
new file mode 100644
index 000000000000..ae8df74f71ff
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst
@@ -0,0 +1 @@
+Add versionadded tag to the documentation of ParameterKind.description



More information about the Python-checkins mailing list