diff --git a/Doc/library/importlib.metadata.rst b/Doc/library/importlib.metadata.rst index 4b9b4ca939fc11..5dcaabba9f1661 100644 --- a/Doc/library/importlib.metadata.rst +++ b/Doc/library/importlib.metadata.rst @@ -266,8 +266,9 @@ Distribution versions .. function:: version(distribution_name) - Return the installed distribution package version for the named - distribution package. + Return the installed distribution package + `version `__ + for the named distribution package. Raises :exc:`PackageNotFoundError` if the named distribution package is not installed in the current Python environment.