mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-20 07:00:29 +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
@@ -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