Browse Source

Fixes a typo in importlib.metadata. (#23921)

Signed-off-by: Tao He <sighingnow@gmail.com>
pull/24034/head
Tao He 5 years ago
committed by GitHub
parent
commit
3631d6deab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Doc/library/importlib.metadata.rst

4
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`

Loading…
Cancel
Save