mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[stdlib] Copy-edit deprecation messages (#14614)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -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