From 3c1fce28ae6acf50bc7131edec876e982de33087 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 2 Mar 2005 17:55:13 +0000 Subject: [PATCH] fix hex pointer conversion git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7022 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/python/swigobject_runme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Examples/test-suite/python/swigobject_runme.py b/SWIG/Examples/test-suite/python/swigobject_runme.py index 7c2992dff..7f629e1d5 100644 --- a/SWIG/Examples/test-suite/python/swigobject_runme.py +++ b/SWIG/Examples/test-suite/python/swigobject_runme.py @@ -1,3 +1,4 @@ + from swigobject import * a = A() @@ -14,7 +15,6 @@ lthis = long(a.this) xstr1 = "0x%x" % (lthis,) xstr2 = pointer_str(a) -print hex(lthis) if xstr1 != xstr2: print xstr1, xstr2 raise RuntimeError