mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Some style nits. Also clarify in the docstrings what __sizeof__ does.
This commit is contained in:
parent
4f2c998ca9
commit
7a6de8b0f4
7 changed files with 18 additions and 18 deletions
|
@ -3918,7 +3918,7 @@ string_splitlines(PyBytesObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(sizeof__doc__,
|
||||
"S.__sizeof__() -> size of S in bytes");
|
||||
"S.__sizeof__() -> size of S in memory, in bytes");
|
||||
|
||||
static PyObject *
|
||||
string_sizeof(PyBytesObject *v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue