mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix C++-style comment.
This commit is contained in:
@@ -2042,9 +2042,9 @@ With an argument, equivalent to object.__dict__.");
|
||||
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__", "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user