Skip to content

Commit 28f5d64

Browse files
committed
more
1 parent 7aa96f9 commit 28f5d64

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

stdlib/asyncio/coroutines.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ def iscoroutine(obj: object) -> TypeIs[Coroutine[Any, Any, Any]]: ...
2121

2222
if sys.version_info >= (3, 11):
2323
@overload
24-
@deprecated("Deprecated since Python 3.14. Use `inspect.iscoroutinefunction()` instead.")
24+
@deprecated("Deprecated; will be removed in Python 3.16. Use `inspect.iscoroutinefunction()` instead.")
2525
def iscoroutinefunction(func: Callable[..., Coroutine[Any, Any, Any]]) -> bool: ...
2626
@overload
27-
@deprecated("Deprecated since Python 3.14. Use `inspect.iscoroutinefunction()` instead.")
27+
@deprecated("Deprecated; will be removed in Python 3.16. Use `inspect.iscoroutinefunction()` instead.")
2828
def iscoroutinefunction(func: Callable[_P, Awaitable[_T]]) -> TypeGuard[Callable[_P, Coroutine[Any, Any, _T]]]: ...
2929
@overload
30-
@deprecated("Deprecated since Python 3.14. Use `inspect.iscoroutinefunction()` instead.")
30+
@deprecated("Deprecated; will be removed in Python 3.16. Use `inspect.iscoroutinefunction()` instead.")
3131
def iscoroutinefunction(func: Callable[_P, object]) -> TypeGuard[Callable[_P, Coroutine[Any, Any, Any]]]: ...
3232
@overload
33-
@deprecated("Deprecated since Python 3.14. Use `inspect.iscoroutinefunction()` instead.")
33+
@deprecated("Deprecated; will be removed in Python 3.16. Use `inspect.iscoroutinefunction()` instead.")
3434
def iscoroutinefunction(func: object) -> TypeGuard[Callable[..., Coroutine[Any, Any, Any]]]: ...
3535
else:
3636
# Sometimes needed in Python < 3.11 due to the fact that it supports @coroutine

stdlib/codecs.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def getincrementaldecoder(encoding: str) -> _IncrementalDecoder: ...
193193

194194
def getreader(encoding: str) -> _StreamReader: ...
195195
def getwriter(encoding: str) -> _StreamWriter: ...
196-
@deprecated("Deprecated since Python 3.14. Use `open()` instead.")
196+
@deprecated("Deprecated. Use `open()` instead.")
197197
def open(
198198
filename: str, mode: str = "r", encoding: str | None = None, errors: str = "strict", buffering: int = -1
199199
) -> StreamReaderWriter: ...

stdlib/importlib/resources/abc.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ from typing import IO, Any, Literal, Protocol, overload, runtime_checkable
77
from typing_extensions import deprecated
88

99
if sys.version_info >= (3, 11):
10-
@deprecated("Deprecated since Python 3.12. Use `importlib.resources.abc.TraversableResources` instead.")
10+
@deprecated("Deprecated. Use `importlib.resources.abc.TraversableResources` instead.")
1111
class ResourceReader(metaclass=ABCMeta):
1212
@abstractmethod
1313
def open_resource(self, resource: str) -> IO[bytes]: ...

stdlib/pathlib/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class PurePath(PathLike[str]):
9494
def __rtruediv__(self, key: StrPath) -> Self: ...
9595
def __bytes__(self) -> bytes: ...
9696
def as_posix(self) -> str: ...
97-
@deprecated("Deprecated since Python 3.14; will be removed in Python 3.19. Use `Path.as_uri()` instead.")
97+
@deprecated("Deprecated; will be removed in Python 3.19. Use `Path.as_uri()` instead.")
9898
def as_uri(self) -> str: ...
9999
def is_absolute(self) -> bool: ...
100100
if sys.version_info < (3, 15):

stdlib/platform.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def mac_ver(
1111
) -> tuple[str, tuple[str, str, str], str]: ...
1212

1313
if sys.version_info < (3, 15):
14-
@deprecated("Deprecated since Python 3.13; will be removed in Python 3.15.")
14+
@deprecated("Deprecated; will be removed in Python 3.15.")
1515
def java_ver(
1616
release: str = "",
1717
vendor: str = "",

stdlib/wave.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ class Wave_write:
8585
def getparams(self) -> _wave_params: ...
8686

8787
if sys.version_info < (3, 15):
88-
@deprecated("Deprecated since Python 3.13; will be removed in Python 3.15.")
88+
@deprecated("Deprecated; will be removed in Python 3.15.")
8989
def setmark(self, id: Any, pos: Any, name: Any) -> NoReturn: ...
90-
@deprecated("Deprecated since Python 3.13; will be removed in Python 3.15.")
90+
@deprecated("Deprecated; will be removed in Python 3.15.")
9191
def getmark(self, id: Any) -> NoReturn: ...
92-
@deprecated("Deprecated since Python 3.13; will be removed in Python 3.15.")
92+
@deprecated("Deprecated; will be removed in Python 3.15.")
9393
def getmarkers(self) -> None: ...
9494

9595
def tell(self) -> int: ...

0 commit comments

Comments
 (0)