Skip to content

Commit 335c1bc

Browse files
committed
Fix typo
1 parent 1d1e7f4 commit 335c1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/fileutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ Py_fopen(PyObject *path, const char *mode)
17761776
int async_err = 0;
17771777
int saved_errno;
17781778
#ifdef MS_WINDOWS
1779-
PyObject *fspath = PyOS_FSPath(arg);
1779+
PyObject *fspath = PyOS_FSPath(path);
17801780
if (fspath == NULL) {
17811781
return NULL;
17821782
}

0 commit comments

Comments
 (0)