File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,14 @@ def get_asyncgen_hooks() -> _asyncgen_hooks: ...
454
454
def set_asyncgen_hooks (firstiter : _AsyncgenHook = ..., finalizer : _AsyncgenHook = ...) -> None : ...
455
455
456
456
if sys .platform == "win32" :
457
- def _enablelegacywindowsfsencoding () -> None : ...
457
+ if sys .version_info >= (3 , 13 ):
458
+ @deprecated (
459
+ "Deprecated since Python 3.13; will be removed in Python 3.16. "
460
+ "Use the `PYTHONLEGACYWINDOWSFSENCODING` environment variable instead."
461
+ )
462
+ def _enablelegacywindowsfsencoding () -> None : ...
463
+ else :
464
+ def _enablelegacywindowsfsencoding () -> None : ...
458
465
459
466
def get_coroutine_origin_tracking_depth () -> int : ...
460
467
def set_coroutine_origin_tracking_depth (depth : int ) -> None : ...
You can’t perform that action at this time.
0 commit comments