diff --git a/stdlib/argparse.pyi b/stdlib/argparse.pyi index 9377497c0766..560577ebe021 100644 --- a/stdlib/argparse.pyi +++ b/stdlib/argparse.pyi @@ -458,7 +458,7 @@ if sys.version_info >= (3, 12): deprecated: bool = False, ) -> None: ... @overload - @deprecated("The `type`, `choices`, and `metavar` parameters are ignored and will be removed in Python 3.14.") + @deprecated("The `type`, `choices`, and `metavar` parameters are ignored; removed in Python 3.14.") def __init__( self, option_strings: Sequence[str], @@ -483,7 +483,7 @@ if sys.version_info >= (3, 12): help: str | None = None, ) -> None: ... @overload - @deprecated("The `type`, `choices`, and `metavar` parameters are ignored and will be removed in Python 3.14.") + @deprecated("The `type`, `choices`, and `metavar` parameters are ignored; removed in Python 3.14.") def __init__( self, option_strings: Sequence[str], @@ -509,7 +509,7 @@ else: help: str | None = None, ) -> None: ... @overload - @deprecated("The `type`, `choices`, and `metavar` parameters are ignored and will be removed in Python 3.14.") + @deprecated("The `type`, `choices`, and `metavar` parameters are ignored; removed in Python 3.14.") def __init__( self, option_strings: Sequence[str], diff --git a/stdlib/ctypes/__init__.pyi b/stdlib/ctypes/__init__.pyi index 7760ddf9d8cb..7d133506af93 100644 --- a/stdlib/ctypes/__init__.pyi +++ b/stdlib/ctypes/__init__.pyi @@ -168,7 +168,7 @@ c_buffer = create_string_buffer def create_unicode_buffer(init: int | str, size: int | None = None) -> Array[c_wchar]: ... if sys.version_info < (3, 15): - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def SetPointerType(pointer: type[_Pointer[Any]], cls: _CTypeBaseType) -> None: ... @deprecated("Soft deprecated. Use multiplication instead.") diff --git a/stdlib/email/utils.pyi b/stdlib/email/utils.pyi index 6b47950a2ef8..db42aff7d1f3 100644 --- a/stdlib/email/utils.pyi +++ b/stdlib/email/utils.pyi @@ -59,7 +59,7 @@ elif sys.version_info >= (3, 12): @overload def localtime(dt: datetime.datetime | None = None) -> datetime.datetime: ... @overload - @deprecated("The `isdst` parameter does nothing and will be removed in Python 3.14.") + @deprecated("The `isdst` parameter is ignored; removed in Python 3.14.") def localtime(dt: datetime.datetime | None = None, isdst: Unused = None) -> datetime.datetime: ... else: diff --git a/stdlib/glob.pyi b/stdlib/glob.pyi index bdfb2cfbcfed..60de4605cf3c 100644 --- a/stdlib/glob.pyi +++ b/stdlib/glob.pyi @@ -10,13 +10,9 @@ if sys.version_info >= (3, 13): __all__ += ["translate"] if sys.version_info < (3, 15): - @deprecated( - "Deprecated since Python 3.10; will be removed in Python 3.15. Use `glob.glob()` with the *root_dir* argument instead." - ) + @deprecated("Deprecated since Python 3.10; removed in Python 3.15. Use `glob.glob()` with the *root_dir* argument instead.") def glob0(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ... - @deprecated( - "Deprecated since Python 3.10; will be removed in Python 3.15. Use `glob.glob()` with the *root_dir* argument instead." - ) + @deprecated("Deprecated since Python 3.10; removed in Python 3.15. Use `glob.glob()` with the *root_dir* argument instead.") def glob1(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ... if sys.version_info >= (3, 11): diff --git a/stdlib/http/server.pyi b/stdlib/http/server.pyi index 6bab228f2ce7..e739c8a55968 100644 --- a/stdlib/http/server.pyi +++ b/stdlib/http/server.pyi @@ -128,7 +128,7 @@ class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): def executable(path: StrPath) -> bool: ... # undocumented if sys.version_info < (3, 15): - @deprecated("Deprecated and unsafe; will be removed in Python 3.15.") + @deprecated("Deprecated and unsafe; removed in Python 3.15.") class CGIHTTPRequestHandler(SimpleHTTPRequestHandler): cgi_directories: list[str] have_fork: bool # undocumented diff --git a/stdlib/pathlib/__init__.pyi b/stdlib/pathlib/__init__.pyi index fa011e6097a4..781b6aebd8a1 100644 --- a/stdlib/pathlib/__init__.pyi +++ b/stdlib/pathlib/__init__.pyi @@ -100,7 +100,7 @@ class PurePath(PathLike[str]): if sys.version_info < (3, 15): if sys.version_info >= (3, 13): @deprecated( - "Deprecated since Python 3.13; will be removed in Python 3.15. " + "Deprecated since Python 3.13; removed in Python 3.15. " "Use `os.path.isreserved()` to detect reserved paths on Windows." ) def is_reserved(self) -> bool: ... diff --git a/stdlib/platform.pyi b/stdlib/platform.pyi index b262186a68e4..8e35fdea92d1 100644 --- a/stdlib/platform.pyi +++ b/stdlib/platform.pyi @@ -11,7 +11,7 @@ def mac_ver( ) -> tuple[str, tuple[str, str, str], str]: ... if sys.version_info < (3, 15): - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def java_ver( release: str = "", vendor: str = "", diff --git a/stdlib/types.pyi b/stdlib/types.pyi index ccd0d5930cdd..ad9019598f79 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -156,7 +156,7 @@ class CodeType: def co_firstlineno(self) -> int: ... if sys.version_info < (3, 15): @property - @deprecated("Deprecated since Python 3.10; will be removed in Python 3.15. Use `CodeType.co_lines()` instead.") + @deprecated("Deprecated since Python 3.10; removed in Python 3.15. Use `CodeType.co_lines()` instead.") def co_lnotab(self) -> bytes: ... @property diff --git a/stdlib/wave.pyi b/stdlib/wave.pyi index 70bf87281550..8ec5ce8154cd 100644 --- a/stdlib/wave.pyi +++ b/stdlib/wave.pyi @@ -47,9 +47,9 @@ class Wave_read: def getcompname(self) -> str: ... def getparams(self) -> _wave_params: ... if sys.version_info < (3, 15): - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def getmarkers(self) -> None: ... - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def getmark(self, id: Any) -> Never: ... def setpos(self, pos: int) -> None: ... @@ -85,11 +85,11 @@ class Wave_write: def getparams(self) -> _wave_params: ... if sys.version_info < (3, 15): - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def setmark(self, id: Any, pos: Any, name: Any) -> Never: ... - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def getmark(self, id: Any) -> Never: ... - @deprecated("Deprecated; will be removed in Python 3.15.") + @deprecated("Deprecated; removed in Python 3.15.") def getmarkers(self) -> None: ... def tell(self) -> int: ...