From: Dong-hee Na Date: Fri, 8 Jun 2018 16:07:52 +0000 (+0900) Subject: bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536) X-Git-Tag: v3.8.0a1~1618 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f54867e29af93779922ff23df542f2d5df4c4ee;p=python bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536) --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 37736ef179..e33876b98c 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 0000000000..ae8df74f71 --- /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