8000 [3.9] Fixes a typo in importlib.metadata. (GH-23921) bpo-42728 by miss-islington · Pull Request #24029 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.9] Fixes a typo in importlib.metadata. (GH-23921) bpo-42728 #24029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixes a typo in importlib.metadata. (GH-23921)
Signed-off-by: Tao He <sighingnow@gmail.com>
(cherry picked from commit 3631d6d)

Co-authored-by: Tao He <sighingnow@gmail.com>
  • Loading branch information
sighingnow authored and miss-islington committed Dec 31, 2020
commit 5b16182b559445e75b2c66b7027370ded490cbe6
4 changes: 2 additions & 2 deletions Doc/library/importlib.metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,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`
Expand Down
0