Skip to content

Commit b22fa09

Browse files
committed
Fixes a typo in importlib.metadata.
Signed-off-by: Tao He <[email protected]>
1 parent 73607be commit b22fa09

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

209-
>>> d.metadata['Requires-Python'] # doctest: +SKIP
209+
>>> dist.metadata['Requires-Python'] # doctest: +SKIP
210210
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
211-
>>> d.metadata['License'] # doctest: +SKIP
211+
>>> dist.metadata['License'] # doctest: +SKIP
212212
'MIT'
213213

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

0 commit comments

Comments
 (0)