gh-150285: Fix too long docstrings in builtins (GH-150293)

* gh-150285: Fix too long docstrings in builtins

* Revert bytes and bytearray class multiline docstrings to make IDLE happy.
This commit is contained in:
Serhiy Storchaka 2026-05-24 15:03:32 +03:00 committed by GitHub
parent 9fceb1c0c5
commit e1e06be119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 613 additions and 553 deletions

View file

@ -2840,12 +2840,13 @@ code._varname_from_oparg
(internal-only) Return the local variable name for the given oparg.
WARNING: this method is for internal use only and may change or go away.
WARNING: this method is for internal use only and may change or go
away.
[clinic start generated code]*/
static PyObject *
code__varname_from_oparg_impl(PyCodeObject *self, int oparg)
/*[clinic end generated code: output=1fd1130413184206 input=c5fa3ee9bac7d4ca]*/
/*[clinic end generated code: output=1fd1130413184206 input=6ba7d6df0d566463]*/
{
PyObject *name = PyTuple_GetItem(self->co_localsplusnames, oparg);
if (name == NULL) {