diff options
-rw-r--r-- | Doc/library/inspect.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst | 1 |
2 files changed, 3 insertions, 0 deletions
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 |