Skip to content

Commit 01b9048

Browse files
authored
1 parent a2c6ac0 commit 01b9048

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

stdlib/@tests/stubtest_allowlists/win32-py314.txt

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

55
_winapi.COPY_FILE_DIRECTORY
66
compression.zlib.ZLIBNG_VERSION
7-
encodings.win32_code_page_search_function
87
nt.readinto
98
pathlib.Path.group
109
pathlib.Path.owner

stdlib/encodings/__init__.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
import sys
12
from codecs import CodecInfo
23

34
class CodecRegistryError(LookupError, SystemError): ...
45

56
def normalize_encoding(encoding: str | bytes) -> str: ...
67
def search_function(encoding: str) -> CodecInfo | None: ...
78

9+
if sys.version_info >= (3, 14) and sys.platform == "win32":
10+
def win32_code_page_search_function(encoding: str) -> CodecInfo | None: ...
11+
812
# Needed for submodules
913
def __getattr__(name: str): ... # incomplete module

0 commit comments

Comments
 (0)