mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +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
|
@ -3467,7 +3467,7 @@ static PyMethodDef long_methods[] = {
|
|||
{"__getnewargs__", (PyCFunction)long_getnewargs, METH_NOARGS},
|
||||
{"__format__", (PyCFunction)long__format__, METH_VARARGS},
|
||||
{"__sizeof__", (PyCFunction)long_sizeof, METH_NOARGS,
|
||||
"Returns size in bytes"},
|
||||
"Returns size in memory, in bytes"},
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue