We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b18850f commit bed64c0Copy full SHA for bed64c0
1 file changed
Python/import.c
@@ -115,7 +115,7 @@ static const struct filedescr _PyImport_StandardFiletab[] = {
115
#endif
116
117
#ifdef MS_WINDOWS
118
-int isdir(char *path) {
+static int isdir(char *path) {
119
DWORD rv;
120
/* see issue1293 and issue3677:
121
* stat() on Windows doesn't recognise paths like
@@ -128,7 +128,7 @@ int isdir(char *path) {
128
}
129
#else
130
#ifdef HAVE_STAT
131
132
struct stat statbuf;
133
return stat(path, &statbuf) == 0 && S_ISDIR(statbuf.st_mode);
134
0 commit comments