Source

pygame / src / rwobject.c

Diff from to

File src/rwobject.c

     if (!obj)
         return (SDL_RWops*) RAISE (PyExc_TypeError, "Invalid filetype object");
 
-    rw = get_standard_rwop (obj);
-    if (rw)
-        return rw;
-
 #ifndef WITH_THREAD
     return (SDL_RWops*) RAISE (PyExc_NotImplementedError,
                                "Python built without thread support");