summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-01 23:24:21 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-01 23:24:21 (GMT)
commit86c7d2f2207f3a6f3814c98688311afa68bf5d4a (patch)
treebdf23cd7458a27b3cc6274ecab0cae9e822685ed /Python
parent0e67fd478f04d8634ea1e196e6ade2c4394984ee (diff)
downloadcpython-86c7d2f2207f3a6f3814c98688311afa68bf5d4a.zip
cpython-86c7d2f2207f3a6f3814c98688311afa68bf5d4a.tar.gz
cpython-86c7d2f2207f3a6f3814c98688311afa68bf5d4a.tar.bz2
Trimmed trailing whitespace.
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index e76ada9..aa16b19 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1272,7 +1272,7 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf,
if (Py_VerboseFlag > 1)
PySys_WriteStderr("# trying %s\n", buf);
filemode = fdp->mode;
- if (filemode[0] == 'U')
+ if (filemode[0] == 'U')
filemode = "r" PY_STDIOTEXTMODE;
fp = fopen(buf, filemode);
if (fp != NULL) {
@@ -2520,7 +2520,7 @@ get_file(char *pathname, PyObject *fob, char *mode)
{
FILE *fp;
if (fob == NULL) {
- if (mode[0] == 'U')
+ if (mode[0] == 'U')
mode = "r" PY_STDIOTEXTMODE;
fp = fopen(pathname, mode);
if (fp == NULL)