[Python-checkins] r59739 - python/trunk/Python/bltinmodule.c

georg.brandl python-checkins at python.org
Sat Jan 5 18:49:17 CET 2008


Author: georg.brandl
Date: Sat Jan  5 18:49:17 2008
New Revision: 59739

Modified:
   python/trunk/Python/bltinmodule.c
Log:
Fix C++-style comment.


Modified: python/trunk/Python/bltinmodule.c
==============================================================================
--- python/trunk/Python/bltinmodule.c	(original)
+++ python/trunk/Python/bltinmodule.c	Sat Jan  5 18:49:17 2008
@@ -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__", "");
 }
 


More information about the Python-checkins mailing list