mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
[stdlib] Copy-edit deprecation messages (#14614)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
1 parent
9bb8c4f1f9
commit
5e0d6ee95e
28 files changed
+191
-120
No files matched your search
+2
-2
@@ -765,10 +765,10 @@ class TarInfo:
|
||||
def __init__(self, name: str = "") -> None: ...
|
||||
if sys.version_info >= (3, 13):
|
||||
@property
|
||||
@deprecated("Deprecated in Python 3.13; removal scheduled for Python 3.16")
|
||||
@deprecated("Deprecated since Python 3.13; will be removed in Python 3.16.")
|
||||
def tarfile(self) -> TarFile | None: ...
|
||||
@tarfile.setter
|
||||
@deprecated("Deprecated in Python 3.13; removal scheduled for Python 3.16")
|
||||
@deprecated("Deprecated since Python 3.13; will be removed in Python 3.16.")
|
||||
def tarfile(self, tarfile: TarFile | None) -> None: ...
|
||||
else:
|
||||
tarfile: TarFile | None
|
||||
|
||||
Reference in new issue
Block a user