mirror of https://github.com/python/cpython
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;
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue