mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +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
|
@ -3421,7 +3421,7 @@ static PyMethodDef object_methods[] = {
|
|||
{"__format__", object_format, METH_VARARGS,
|
||||
PyDoc_STR("default object formatter")},
|
||||
{"__sizeof__", object_sizeof, METH_NOARGS,
|
||||
PyDoc_STR("__sizeof__() -> size of object in bytes")},
|
||||
PyDoc_STR("__sizeof__() -> size of object in memory, in bytes")},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue