Correct co_lnotab deprecation message (#14145)

This commit is contained in:
sobolevn
2025-05-26 11:45:43 +03:00
committed by GitHub
parent 4ea1f958ce
commit 23d144773f
+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.14. Use the co_lines() method instead.")
@deprecated("Will be removed in Python 3.15. Use the co_lines() method instead.")
def co_lnotab(self) -> bytes: ...
else:
@property