mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-14 04:14:52 +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
+5
-2
@@ -49,8 +49,11 @@ class Function(SymbolTable):
|
||||
def get_nonlocals(self) -> tuple[str, ...]: ...
|
||||
|
||||
class Class(SymbolTable):
|
||||
@deprecated("deprecated in Python 3.14, will be removed in Python 3.16")
|
||||
def get_methods(self) -> tuple[str, ...]: ...
|
||||
if sys.version_info >= (3, 14):
|
||||
@deprecated("Deprecated since Python 3.14; will be removed in Python 3.16.")
|
||||
def get_methods(self) -> tuple[str, ...]: ...
|
||||
else:
|
||||
def get_methods(self) -> tuple[str, ...]: ...
|
||||
|
||||
class Symbol:
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user