Skip to content

Commit a718301

Browse files
committed
in importlib.util._incompatible_extension_module_restrictions add undocumented property
1 parent 59c8a2f commit a718301

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/importlib/util.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from typing import Literal
12
import importlib.machinery
23
import sys
34
import types
@@ -52,6 +53,8 @@ if sys.version_info >= (3, 12):
5253
def __exit__(
5354
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
5455
) -> None: ...
56+
@property
57+
def override(self) -> Literal[-1, 1]: ... # undocumented
5558

5659
if sys.version_info >= (3, 14):
5760
__all__ = [

0 commit comments

Comments
 (0)