Ticket #1066: 3_py_suncc.patch
File 3_py_suncc.patch, 525 bytes (added by , 15 years ago) |
---|
-
libs/python/src/object/class.cpp
428 428 return object( 429 429 PyObject_IsInstance(scope().ptr(), upcast<PyObject>(&PyModule_Type)) 430 430 ? object(scope().attr("__name__")) 431 : api::getattr(scope(), "__module__", str())431 : api::getattr(scope(), (char *)("__module__"), str()) 432 432 ); 433 433 } 434 434