mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 13:40:23 +08:00
[stdlib] Copy-edit deprecation messages (#14614)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
co-authored by
Alex Waygood
parent
9bb8c4f1f9
commit
5e0d6ee95e
+3
-3
@@ -34,11 +34,11 @@ def visiblename(name: str, all: Container[str] | None = None, obj: object = None
|
||||
def classify_class_attrs(object: object) -> list[tuple[str, str, type, str]]: ...
|
||||
|
||||
if sys.version_info >= (3, 13):
|
||||
@deprecated("Deprecated in Python 3.13.")
|
||||
def ispackage(path: str) -> bool: ...
|
||||
@deprecated("Deprecated since Python 3.13.")
|
||||
def ispackage(path: str) -> bool: ... # undocumented
|
||||
|
||||
else:
|
||||
def ispackage(path: str) -> bool: ...
|
||||
def ispackage(path: str) -> bool: ... # undocumented
|
||||
|
||||
def source_synopsis(file: IO[AnyStr]) -> AnyStr | None: ...
|
||||
def synopsis(filename: str, cache: MutableMapping[str, tuple[int, str]] = {}) -> str | None: ...
|
||||
|
||||
Reference in New Issue
Block a user