Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86c7d2f

Browse files
committed
Trimmed trailing whitespace.
1 parent 0e67fd4 commit 86c7d2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/import.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf,
12721272
if (Py_VerboseFlag > 1)
12731273
PySys_WriteStderr("# trying %s\n", buf);
12741274
filemode = fdp->mode;
1275-
if (filemode[0] == 'U')
1275+
if (filemode[0] == 'U')
12761276
filemode = "r" PY_STDIOTEXTMODE;
12771277
fp = fopen(buf, filemode);
12781278
if (fp != NULL) {
@@ -2520,7 +2520,7 @@ get_file(char *pathname, PyObject *fob, char *mode)
25202520
{
25212521
FILE *fp;
25222522
if (fob == NULL) {
2523-
if (mode[0] == 'U')
2523+
if (mode[0] == 'U')
25242524
mode = "r" PY_STDIOTEXTMODE;
25252525
fp = fopen(pathname, mode);
25262526
if (fp == NULL)

0 commit comments

Comments
 (0)