[Python-checkins] r84799 - python/branches/py3k/Modules/posixmodule.c
antoine.pitrou
python-checkins at python.org
Tue Sep 14 12:08:08 CEST 2010
Author: antoine.pitrou
Date: Tue Sep 14 12:08:08 2010
New Revision: 84799
Log:
Remove C++-style comments
Modified:
python/branches/py3k/Modules/posixmodule.c
Modified: python/branches/py3k/Modules/posixmodule.c
==============================================================================
--- python/branches/py3k/Modules/posixmodule.c (original)
+++ python/branches/py3k/Modules/posixmodule.c Tue Sep 14 12:08:08 2010
@@ -2330,7 +2330,7 @@
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 @@
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);
More information about the Python-checkins
mailing list