Message5978

Author brice.fernandes
Recipients brice.fernandes
Date 2010-08-17.10:14:28
SpamBayes Score 0.130188
Marked as misclassified No
Message-id <1282040068.62.0.458326752753.issue1644@psf.upfronthosting.co.za>
In-reply-to
Content
to fix, 

Change the repr_array() method on line 60 of Lib/repr.py from:

> def repr_array(self, x, level):
>     header = "array('%s', [" % x.typecode
>     return self._repr_iterable(x, level, header, '])', self.maxarray)

To:

> def repr_array(self, x, level):
>     head = "array(["
>     foot = "], '%s')"% x.typecode
>     return self._repr_iterable(x, level, head, foot, self.maxarray)

and repackage.
History
Date User Action Args
2010-08-17 10:14:28brice.fernandessetmessageid: <1282040068.62.0.458326752753.issue1644@psf.upfronthosting.co.za>
2010-08-17 10:14:28brice.fernandessetrecipients: + brice.fernandes
2010-08-17 10:14:28brice.fernandeslinkissue1644 messages
2010-08-17 10:14:28brice.fernandescreate