Remove C++-style comments

This commit is contained in:
Antoine Pitrou 2010-09-14 10:08:08 +00:00
parent 2ed94eb520
commit 3d330add9e
1 changed files with 2 additions and 2 deletions

View File

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