Skip to content

Commit facf5b4

Browse files
authored
PEP 810: Fix markup of note (#4951)
1 parent b8653e0 commit facf5b4

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

peps/pep-0810.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -605,12 +605,13 @@ After several calls, ``LOAD_GLOBAL`` specializes to ``LOAD_GLOBAL_MODULE``:
605605
Lazy imports filter
606606
-------------------
607607

608-
*Note: This is an advanced feature. These are intended for specialized/advanced
609-
users who need fine-grained control over lazy import behavior when using the
610-
global flags. Library developers are discouraged from using these functions as
611-
they can affect the runtime execution of applications (similar to
612-
``sys.setrecursionlimit()``, ``sys.setswitchinterval()``, or
613-
``gc.set_threshold()``).*
608+
.. note::
609+
This is an advanced feature. These are intended for specialized/advanced
610+
users who need fine-grained control over lazy import behavior when using the
611+
global flags. Library developers are discouraged from using these functions as
612+
they can affect the runtime execution of applications (similar to
613+
:func:`sys.setrecursionlimit`, :func:`sys.setswitchinterval`, or
614+
:func:`gc.set_threshold`).
614615

615616
This PEP adds the following new functions to the ``sys`` module to manage the
616617
lazy imports filter:

0 commit comments

Comments
 (0)