https://github.com/python/cpython/commit/c8d0aa978700d55afa80ab71734c4cd24860f6f1
commit: c8d0aa978700d55afa80ab71734c4cd24860f6f1
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-09-10T20:48:20Z
summary:

[3.14] gh-142197: Doc: Add missing import statement in importlib.metadata 
overview (GH-142208) (#157285)

(cherry picked from commit f64ebfbc2bf7de7905d5b7fdafb9ba1ab1c251bb)

Co-authored-by: Yashraj <[email protected]>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>

files:
M Doc/library/importlib.metadata.rst

diff --git a/Doc/library/importlib.metadata.rst 
b/Doc/library/importlib.metadata.rst
index 3d5f4420a4f382..d720c16e00d7d0 100644
--- a/Doc/library/importlib.metadata.rst
+++ b/Doc/library/importlib.metadata.rst
@@ -90,6 +90,7 @@ collection of :ref:`EntryPoint <entry-points>` objects.
 
 You can get the :ref:`metadata for a distribution <metadata>`::
 
+    >>> from importlib.metadata import metadata  # doctest: +SKIP
     >>> list(metadata('wheel'))  # doctest: +SKIP
     ['Metadata-Version', 'Name', 'Version', 'Summary', 'Home-page', 'Author', 
'Author-email', 'Maintainer', 'Maintainer-email', 'License', 'Project-URL', 
'Project-URL', 'Project-URL', 'Keywords', 'Platform', 'Classifier', 
'Classifier', 'Classifier', 'Classifier', 'Classifier', 'Classifier', 
'Classifier', 'Classifier', 'Classifier', 'Classifier', 'Classifier', 
'Classifier', 'Requires-Python', 'Provides-Extra', 'Requires-Dist', 
'Requires-Dist']
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to