Skip to content

Commit 82f24ff

Browse files
Fixes a typo in importlib.metadata. (GH-23921) (#24030)
Signed-off-by: Tao He <[email protected]> (cherry picked from commit 3631d6d) Co-authored-by: Tao He <[email protected]> Co-authored-by: Tao He <[email protected]>
1 parent bc15cdb commit 82f24ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/importlib.metadata.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ Thus, an alternative way to get the version number is through the
198198
There are all kinds of additional metadata available on the ``Distribution``
199199
instance::
200200

201-
>>> d.metadata['Requires-Python'] # doctest: +SKIP
201+
>>> dist.metadata['Requires-Python'] # doctest: +SKIP
202202
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
203-
>>> d.metadata['License'] # doctest: +SKIP
203+
>>> dist.metadata['License'] # doctest: +SKIP
204204
'MIT'
205205

206206
The full set of available metadata is not described here. See :pep:`566`

0 commit comments

Comments
 (0)