in jpegloader.c [92:100]
void image_from_jpeg(ImageObject* self, const char* path) {
FILE* file = file = fopen(path, "rb");
if (file == NULL) {
PyErr_Format(PyExc_IOError, "failed to open file %s", path);
return;
}
image_from_file(self, file);
}