2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

avoid Visual C++ 7.1 "resolved overload was found by argument-dependent lookup" warning

[SVN r34016]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2006-05-18 22:09:20 +00:00
parent 59f81def56
commit 66ac61450e

View File

@@ -23,7 +23,7 @@ namespace {
if (!getattr(instance_obj, "__safe_for_unpickling__", none))
{
str type_name(getattr(instance_class, "__name__"));
str module_name(getattr(instance_class, "__module__", str()));
str module_name(getattr(instance_class, "__module__", object("")));
if (module_name)
module_name += ".";