Remove C++-style comments
This commit is contained in:
parent
2ed94eb520
commit
3d330add9e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue