mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
VC7.1 alpha adjustments
[SVN r15003]
This commit is contained in:
@@ -268,7 +268,7 @@ namespace objects
|
||||
|
||||
object module_name = PyObject_IsInstance(scope().ptr(), upcast<PyObject>(&PyModule_Type))
|
||||
? scope().attr("__name__")
|
||||
: getattr(scope(), "__module__", object(""))
|
||||
: api::getattr(scope(), "__module__", object(""))
|
||||
;
|
||||
|
||||
if (module_name)
|
||||
|
||||
Reference in New Issue
Block a user