]> granicus.if.org Git - python/commit
Fix attribute access for the xrange objects. The tp_getattr and tp_getattro
authorFred Drake <fdrake@acm.org>
Thu, 2 May 2002 16:05:27 +0000 (16:05 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 2 May 2002 16:05:27 +0000 (16:05 +0000)
commitedb51bb7e81191890ba267ecf39903d408a64bb0
tree8a8edefbd98b1091d8dd0d94428df975b47331d6
parent9546772ccd09eeffd2f40a361c43ecabd13b70b0
Fix attribute access for the xrange objects.  The tp_getattr and tp_getattro
handlers were both set, but were not compatible.  This change uses only the
tp_getattro handler with a more "modern" approach.
This fixes SF bug #551285.
Objects/rangeobject.c