Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 47421:a65f095b27f3 legacy-trunk
Some style nits. Also clarify in the docstrings what __sizeof__ does.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 01 Jun 2008 16:42:16 +0000 |
| parents | 88bd07c0a847 |
| children | 52294af4b663 |
line wrap: on
line diff
--- a/Python/sysmodule.c Sun Jun 01 16:41:31 2008 +0000 +++ b/Python/sysmodule.c Sun Jun 01 16:42:16 2008 +0000 @@ -664,9 +664,9 @@ return PyObject_CallFunctionObjArgs(method, args, NULL); } /* Instance of old-style classes */ - else if(PyInstance_Check(args)) + else if (PyInstance_Check(args)) return PyInt_FromSsize_t(PyInstance_Type.tp_basicsize); - /* Old-style class */ + /* Old-style classes */ else if (PyClass_Check(args)) return PyInt_FromSsize_t(PyClass_Type.tp_basicsize); else
