Skip to content

Commit bbf6d66

Browse files
authored
Restore semantic links now the targets exist
1 parent 47bb0e3 commit bbf6d66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/discussions/single-source-version.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Single-sourcing the Project Version
1010
Many Python :term:`distribution packages <Distribution Package>` publish a single
1111
Python :term:`import package <Import Package>` where it is desired that the runtime
1212
``__version__`` attribute on the import package report the same version specifier
13-
as :func:`!importlib.metadata.version` reports for the distribution package
13+
as :func:`importlib.metadata.version` reports for the distribution package
1414
(as described in :ref:`runtime-version-access`).
1515

1616
It is also frequently desired that this version information be derived from a version

source/discussions/versioning.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Accessing version information at runtime
178178

179179
Version information for all :term:`distribution packages <Distribution Package>`
180180
that are locally available in the current environment can be obtained at runtime
181-
using the standard library's :func:`!importlib.metadata.version` function::
181+
using the standard library's :func:`importlib.metadata.version` function::
182182

183183
>>> importlib.metadata.version("cryptography")
184184
'41.0.7'
@@ -235,7 +235,7 @@ multiple ways to access the underlying OpenSSL library version::
235235
.. [#fallback-to-dist-version] A full list mapping the top level names available
236236
for import to the distribution packages that provide those import packages and
237237
modules may be obtained through the standard library's
238-
:func:`!importlib.metadata.packages_distributions` function. This means that
238+
:func:`importlib.metadata.packages_distributions` function. This means that
239239
even code that is attempting to infer a version to report for all importable
240240
top-level names has a means to fall back to reporting the distribution
241241
version information if no ``__version__`` attribute is defined. Only standard

0 commit comments

Comments
 (0)