2
0
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:
Dave Abrahams
2002-08-20 19:22:14 +00:00
parent 6e3c6d1ba8
commit c104f0167f
4 changed files with 5 additions and 5 deletions

View File

@@ -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)