mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[sys] Deprecate _enablelegacywindowsfsencoding (#14495)
This commit is contained in:
@@ -454,7 +454,14 @@ def get_asyncgen_hooks() -> _asyncgen_hooks: ...
|
||||
def set_asyncgen_hooks(firstiter: _AsyncgenHook = ..., finalizer: _AsyncgenHook = ...) -> None: ...
|
||||
|
||||
if sys.platform == "win32":
|
||||
def _enablelegacywindowsfsencoding() -> None: ...
|
||||
if sys.version_info >= (3, 13):
|
||||
@deprecated(
|
||||
"Deprecated since Python 3.13; will be removed in Python 3.16. "
|
||||
"Use the `PYTHONLEGACYWINDOWSFSENCODING` environment variable instead."
|
||||
)
|
||||
def _enablelegacywindowsfsencoding() -> None: ...
|
||||
else:
|
||||
def _enablelegacywindowsfsencoding() -> None: ...
|
||||
|
||||
def get_coroutine_origin_tracking_depth() -> int: ...
|
||||
def set_coroutine_origin_tracking_depth(depth: int) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user