summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-14 10:08:08 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-14 10:08:08 (GMT)
commit3d330add9e771748bb690b6a81a311067dc46823 (patch)
tree62e6018a5207258b915f8bcb3461b0c01504b7f6 /Modules
parent2ed94eb520fa1ffe3a41e7a06849801a210f2978 (diff)
downloadcpython-3d330add9e771748bb690b6a81a311067dc46823.zip
cpython-3d330add9e771748bb690b6a81a311067dc46823.tar.gz
cpython-3d330add9e771748bb690b6a81a311067dc46823.tar.bz2
Remove C++-style comments
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 82bbd91..8026096 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -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);