From 4f54867e29af93779922ff23df542f2d5df4c4ee Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sat, 9 Jun 2018 01:07:52 +0900 Subject: bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536) --- Doc/library/inspect.rst | 2 ++ Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst | 1 + 2 files changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 37736ef..e33876b 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 0000000..ae8df74 --- /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 -- cgit v0.12