Skip to content

Commit 86b011a

Browse files
guocisrittau
andauthored
Update stdlib/importlib/util.pyi
Co-authored-by: Sebastian Rittau <[email protected]>
1 parent 93271d4 commit 86b011a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/importlib/util.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ def source_hash(source_bytes: ReadableBuffer) -> bytes: ...
4949
if sys.version_info >= (3, 12):
5050
class _incompatible_extension_module_restrictions:
5151
def __init__(self, *, disable_check: bool) -> None: ...
52+
disable_check: bool
53+
old: Literal[-1, 0, -1] # exists only while entered
5254
def __enter__(self) -> Self: ...
5355
def __exit__(
5456
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None

0 commit comments

Comments
 (0)