From 8d30cc0144a6a94e06f3a115b07afa6314466cfd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 3 May 2007 17:49:24 +0000 Subject: Get rid of all #ifdef Py_USING_UNICODE (it is always present now). (With the help of unifdef from freshmeat.) --- Python/import.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Python/import.c') diff --git a/Python/import.c b/Python/import.c index 6d742b9b41..7e3d2f4695 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1256,7 +1256,6 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf, PyObject *v = PyList_GetItem(path, i); if (!v) return NULL; -#ifdef Py_USING_UNICODE if (PyUnicode_Check(v)) { copy = PyUnicode_Encode(PyUnicode_AS_UNICODE(v), PyUnicode_GET_SIZE(v), Py_FileSystemDefaultEncoding, NULL); @@ -1265,7 +1264,6 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf, v = copy; } else -#endif if (!PyString_Check(v)) continue; len = PyString_GET_SIZE(v); -- cgit v1.2.1