Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 44492:9caf8a7b11a6 legacy-trunk
Fix C++-style comment.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sat, 05 Jan 2008 17:49:17 +0000 |
| parents | 94eeaeeb3ce9 |
| children | 8da9ebf73026 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Sat Jan 05 17:15:44 2008 +0000 +++ b/Python/bltinmodule.c Sat Jan 05 17:49:17 2008 +0000 @@ -2042,9 +2042,9 @@ static PyObject * builtin_trunc(PyObject *self, PyObject *number) { - // XXX: The py3k branch gets better errors for this by using - // _PyType_Lookup(), but since float's mro isn't set in py2.6, - // we just use PyObject_CallMethod here. + /* XXX: The py3k branch gets better errors for this by using + _PyType_Lookup(), but since float's mro isn't set in py2.6, + we just use PyObject_CallMethod here. */ return PyObject_CallMethod(number, "__trunc__", ""); }
