From 1717014d72dc5daed81f739bbb8751792bc3e1e3 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 30 Nov 2005 05:02:37 +0000 Subject: [PATCH] A trick for negative address removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pp.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pp.rb b/lib/pp.rb index 934ad6bf67..62c98bd451 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -167,7 +167,6 @@ class PP < PrettyPrint def object_address_group(obj, &block) id = PointerFormat % (obj.__id__ * 2 & PointerMask) - id.sub!(/\Af(?=[[:xdigit:]]{2}+\z)/, '') if id.sub!(/\A\.\./, '') group(1, "\#<#{obj.class}:0x#{id}", '>', &block) end