From b4156e9879993a7536eb80a34f2ef36bcb46ac03 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 20 Oct 2004 21:59:54 +0000 Subject: [PATCH] Oops, fix lost '!' git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6462 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Modules/python.cxx b/SWIG/Source/Modules/python.cxx index 6a446d5f5..b4b07f87e 100644 --- a/SWIG/Source/Modules/python.cxx +++ b/SWIG/Source/Modules/python.cxx @@ -1475,7 +1475,7 @@ public: } int assignable = is_assignable(n); - if ((shadow) && assignable) { + if ((shadow) && !assignable) { if (!in_class) { Printf(f_shadow_stubs,"%s = %s.%s\n", iname, global_name, iname); }