mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Fix C++-style comment.
This commit is contained in:
parent
f326898ad4
commit
9fcd8ceb74
1 changed files with 3 additions and 3 deletions
|
@ -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__", "");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue