Skip to content

Commit cf2aa4e

Browse files
Change how monitoring and _jit are imported to not include the _ prefixed modules in its variable list
1 parent 31b375b commit cf2aa4e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

stdlib/sys/__init__.pyi

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,11 @@ if sys.version_info >= (3, 12):
510510
else:
511511
def activate_stack_trampoline(backend: str, /) -> NoReturn: ...
512512

513-
from . import _monitoring
514-
515-
monitoring = _monitoring
513+
from . import _monitoring as monitoring
516514

517515
if sys.version_info >= (3, 14):
518516
def is_remote_debug_enabled() -> bool: ...
519517
def remote_exec(pid: int, script: StrOrBytesPath) -> None: ...
520518
def _is_immortal(op: object, /) -> bool: ...
521519

522-
from . import __jit
523-
524-
_jit = __jit
520+
from . import __jit as _jit

0 commit comments

Comments
 (0)