Skip to content

Commit 87ac364

Browse files
stdlib: Add sys._enablelegacywindowsfsencoding()
1 parent 20dcfc9 commit 87ac364

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/sys.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ class _asyncgen_hooks(structseq[_AsyncgenHook], tuple[_AsyncgenHook, _AsyncgenHo
316316
def get_asyncgen_hooks() -> _asyncgen_hooks: ...
317317
def set_asyncgen_hooks(firstiter: _AsyncgenHook = ..., finalizer: _AsyncgenHook = ...) -> None: ...
318318

319+
if sys.version_info >= (3, 6):
320+
if sys.platform == "win32":
321+
def _enablelegacywindowsfsencoding() -> None: ...
322+
319323
if sys.version_info >= (3, 7):
320324
def get_coroutine_origin_tracking_depth() -> int: ...
321325
def set_coroutine_origin_tracking_depth(depth: int) -> None: ...

0 commit comments

Comments
 (0)