On Friday 29 July 2005 13:50, Albertas Agejevas wrote:
> On Fri, Jul 29, 2005 at 09:12:14AM -0400, Benji York wrote:
> > What's the reasoning for using angle brackets on some, and not on the
> > others? (I personally like angle brackets better, to be consistent with
> > Python.)
>
> If you can, yo
On Fri, Jul 29, 2005 at 09:12:14AM -0400, Benji York wrote:
> What's the reasoning for using angle brackets on some, and not on the
> others? (I personally like angle brackets better, to be consistent with
> Python.)
If you can, you make repr to tell you how to make and identical
object. For e
Stephan Richter wrote:
Log message for revision 37434:
Developed nicer, human-readable representations of several classes. Hope
you like it! :-)
+def __repr__(self):
+return "" %self.__name__
+def __repr__(self):
+return "TransitionDefinition(from='%s', to='%s')
Stephan Richter <[EMAIL PROTECTED]> wrote:
> Log message for revision 37434:
> Developed nicer, human-readable representations of several classes. Hope
> you like it! :-)
Cool.
BTW I tend to use
"... %r ..." % foo.__name__
instead of
"... '%s' ..." % foo.__name__
though, just for the