From 1b87e759d4e62e0fa73ad1b9915f98fece61af19 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Sun, 3 May 2026 11:49:04 +0200 Subject: [PATCH] PEP 810: Fix markup of note --- peps/pep-0810.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/peps/pep-0810.rst b/peps/pep-0810.rst index db84fa16f80..ebafbc2db0a 100644 --- a/peps/pep-0810.rst +++ b/peps/pep-0810.rst @@ -605,12 +605,13 @@ After several calls, ``LOAD_GLOBAL`` specializes to ``LOAD_GLOBAL_MODULE``: Lazy imports filter ------------------- -*Note: This is an advanced feature. These are intended for specialized/advanced -users who need fine-grained control over lazy import behavior when using the -global flags. Library developers are discouraged from using these functions as -they can affect the runtime execution of applications (similar to -``sys.setrecursionlimit()``, ``sys.setswitchinterval()``, or -``gc.set_threshold()``).* +.. note:: + This is an advanced feature. These are intended for specialized/advanced + users who need fine-grained control over lazy import behavior when using the + global flags. Library developers are discouraged from using these functions as + they can affect the runtime execution of applications (similar to + :func:`sys.setrecursionlimit`, :func:`sys.setswitchinterval`, or + :func:`gc.set_threshold`). This PEP adds the following new functions to the ``sys`` module to manage the lazy imports filter: