From: Tao He Date: Thu, 31 Dec 2020 19:37:53 +0000 (+0800) Subject: Fixes a typo in importlib.metadata. (#23921) X-Git-Tag: v3.10.0a4~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3631d6deab064de0bb286ef2943885dca3c3075e;p=thirdparty%2FPython%2Fcpython.git Fixes a typo in importlib.metadata. (#23921) Signed-off-by: Tao He --- diff --git a/Doc/library/importlib.metadata.rst b/Doc/library/importlib.metadata.rst index 858ed0a48387..7f154ea02cc4 100644 --- a/Doc/library/importlib.metadata.rst +++ b/Doc/library/importlib.metadata.rst @@ -207,9 +207,9 @@ Thus, an alternative way to get the version number is through the There are all kinds of additional metadata available on the ``Distribution`` instance:: - >>> d.metadata['Requires-Python'] # doctest: +SKIP + >>> dist.metadata['Requires-Python'] # doctest: +SKIP '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' - >>> d.metadata['License'] # doctest: +SKIP + >>> dist.metadata['License'] # doctest: +SKIP 'MIT' The full set of available metadata is not described here. See :pep:`566`