[stdlib] Copy-edit deprecation messages (#14614)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Semyon Moroz
2025-08-21 12:12:00 +01:00
committed by GitHub
co-authored by Alex Waygood
parent 9bb8c4f1f9
commit 5e0d6ee95e
28 changed files with 191 additions and 120 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ class CodeType:
def co_firstlineno(self) -> int: ...
if sys.version_info >= (3, 10):
@property
@deprecated("Will be removed in Python 3.15. Use the co_lines() method instead.")
@deprecated("Deprecated since Python 3.10; will be removed in Python 3.15. Use `CodeType.co_lines()` instead.")
def co_lnotab(self) -> bytes: ...
else:
@property