gh-122058: Lib/inspect: Update docstrings for isfunction, isgenerator, isframe, iscode. (#122059)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Kirill Podoprigora
2024-08-06 15:47:31 +03:00
committed by GitHub
parent 0b433aa9df
commit 8ce70d6c69
3 changed files with 50 additions and 10 deletions

View File

@@ -1721,7 +1721,7 @@ suspended:
}
PyDoc_STRVAR(clear__doc__,
"F.clear(): clear most references held by the frame");
"F.clear(): clear all references held by the frame");
static PyObject *
frame_sizeof(PyFrameObject *f, PyObject *Py_UNUSED(ignored))