Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Address review
  • Loading branch information
sobolevn committed Apr 3, 2023
commit 0966c8c1df364c4d1d0572c9566790d5c6837e2e
4 changes: 1 addition & 3 deletions Objects/codeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1922,9 +1922,7 @@ static PyObject *
code_getlnotab(PyCodeObject *code, void *closure)
{
if (PyErr_WarnEx(PyExc_DeprecationWarning,
"co_lnotab is deprecated since Python 3.12 "
"and may be removed in Python 3.14, "
"use co_lines instead.",
"co_lnotab is deprecated, use co_lines instead.",
1) < 0) {
return NULL;
}
Expand Down