]> granicus.if.org Git - python/commitdiff
bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536)
authorDong-hee Na <donghee.na92@gmail.com>
Fri, 8 Jun 2018 16:07:52 +0000 (01:07 +0900)
committerYury Selivanov <yury@magic.io>
Fri, 8 Jun 2018 16:07:52 +0000 (12:07 -0400)
Doc/library/inspect.rst
Misc/NEWS.d/next/Documentation/2018-06-08-23-37-14.bpo-33197.OERTKf.rst [new file with mode: 0644]

index 37736ef17948928c136d8d48790b49f64a16060c..e33876b98c1ded5af3b9b316e53d31d8f78f84ee 100644 (file)
@@ -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 (file)
index 0000000..ae8df74
--- /dev/null
@@ -0,0 +1 @@
+Add versionadded tag to the documentation of ParameterKind.description