mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +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
@@ -138,7 +138,7 @@ class TracebackException:
|
||||
@property
|
||||
def exc_type_str(self) -> str: ...
|
||||
@property
|
||||
@deprecated("Deprecated in 3.13. Use exc_type_str instead.")
|
||||
@deprecated("Deprecated since Python 3.13. Use `exc_type_str` instead.")
|
||||
def exc_type(self) -> type[BaseException] | None: ...
|
||||
else:
|
||||
exc_type: type[BaseException]
|
||||
|
||||
Reference in new issue
Block a user