]> granicus.if.org Git - python/commitdiff
Remove C++-style comments
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Sep 2010 10:08:08 +0000 (10:08 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Sep 2010 10:08:08 +0000 (10:08 +0000)
Modules/posixmodule.c

index 82bbd91964220fcc799bb8e8785b4a114117ff7c..80260960b5addd82e7d39ae1c6db071ee9b9ad37 100644 (file)
@@ -2330,7 +2330,7 @@ posix_listdir(PyObject *self, PyObject *args)
         WIN32_FIND_DATAW wFileData;
         Py_UNICODE *wnamebuf, *po_wchars;
         
-        if (po == NULL) { // Default arg: "."
+        if (po == NULL) { /* Default arg: "." */
             po_wchars = L".";
             len = 1;
         } else {
@@ -2577,7 +2577,7 @@ posix_listdir(PyObject *self, PyObject *args)
     oname = NULL;
     if (!PyArg_ParseTuple(args, "|O&:listdir", PyUnicode_FSConverter, &oname))
         return NULL;
-    if (oname == NULL) { // Default arg: "."
+    if (oname == NULL) { /* Default arg: "." */
       oname = PyBytes_FromString(".");
     }
     name = PyBytes_AsString(oname);