Skip to content

Commit 0bf33eb

Browse files
authored
Update _imp to 3.14 (#14164)
1 parent fcc877d commit 0bf33eb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stdlib/@tests/stubtest_allowlists/py314.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# ====================================================================
44

55
_asyncio.all_tasks
6-
_imp.pyc_magic_number_token
76
asyncio.eager_task_factory
87
asyncio.tasks.eager_task_factory
98
compression.gzip.GzipFile.readinto

stdlib/_imp.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ from importlib.machinery import ModuleSpec
55
from typing import Any
66

77
check_hash_based_pycs: str
8+
if sys.version_info >= (3, 14):
9+
pyc_magic_number_token: int
810

911
def source_hash(key: int, source: ReadableBuffer) -> bytes: ...
1012
def create_builtin(spec: ModuleSpec, /) -> types.ModuleType: ...

0 commit comments

Comments
 (0)