mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[stdlib] Copy-edit deprecation messages (#14614)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -2,9 +2,9 @@ import sys
|
||||
from typing_extensions import deprecated
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
@deprecated("nturl2path module was deprecated since Python 3.14")
|
||||
@deprecated("The `nturl2path` module is deprecated since Python 3.14.")
|
||||
def url2pathname(url: str) -> str: ...
|
||||
@deprecated("nturl2path module was deprecated since Python 3.14")
|
||||
@deprecated("The `nturl2path` module is deprecated since Python 3.14.")
|
||||
def pathname2url(p: str) -> str: ...
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user