]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix C++-style comment.
authorGeorg Brandl <georg@python.org>
Sat, 5 Jan 2008 17:49:17 +0000 (17:49 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 5 Jan 2008 17:49:17 +0000 (17:49 +0000)
Python/bltinmodule.c

index 84a00082609e1365987f9062a04d2b1b2e7b054c..3ebd29df9abd4c1903e16fafebbdc809febc7bd1 100644 (file)
@@ -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__", "");
 }