From 66ac61450e626c780802f9e951d15ae04b5f0410 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 18 May 2006 22:09:20 +0000 Subject: [PATCH] avoid Visual C++ 7.1 "resolved overload was found by argument-dependent lookup" warning [SVN r34016] --- src/object/pickle_support.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/pickle_support.cpp b/src/object/pickle_support.cpp index 69a8f5a7..f70eb17f 100644 --- a/src/object/pickle_support.cpp +++ b/src/object/pickle_support.cpp @@ -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 += ".";