Skip to content

Commit 3631d6d

Browse files
authored
Fixes a typo in importlib.metadata. (#23921)
Signed-off-by: Tao He <[email protected]>
1 parent a6fd0f4 commit 3631d6d

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
@@ -207,9 +207,9 @@ Thus, an alternative way to get the version number is through the
207207
There are all kinds of additional metadata available on the ``Distribution``
208208
instance::
209209

210-
>>> d.metadata['Requires-Python'] # doctest: +SKIP
210+
>>> dist.metadata['Requires-Python'] # doctest: +SKIP
211211
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
212-
>>> d.metadata['License'] # doctest: +SKIP
212+
>>> dist.metadata['License'] # doctest: +SKIP
213213
'MIT'
214214

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

0 commit comments

Comments
 (0)