From 12e36ce7b32f55c45d9ceeec7db558393bcdb5f5 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 26 May 2025 11:14:45 +0300 Subject: [PATCH] Correct `co_lnotab` deprecation message --- stdlib/types.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/types.pyi b/stdlib/types.pyi index 1163d71d2c95..3a1bffd004c5 100644 --- a/stdlib/types.pyi +++ b/stdlib/types.pyi @@ -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