# DP: Python/import.c: Don't export isdir(). diff -r 4c86a860e3d2 Python/import.c --- a/Python/import.c Mon Aug 13 22:04:30 2012 -0400 +++ b/Python/import.c Tue Aug 14 12:37:18 2012 +0200 @@ -115,7 +115,7 @@ #endif #ifdef MS_WINDOWS -int isdir(char *path) { +static int isdir(char *path) { DWORD rv; /* see issue1293 and issue3677: * stat() on Windows doesn't recognise paths like @@ -128,7 +128,7 @@ } #else #ifdef HAVE_STAT -int isdir(char *path) { +static int isdir(char *path) { struct stat statbuf; return stat(path, &statbuf) == 0 && S_ISDIR(statbuf.st_mode); }