|
Boost : |
From: SourceForge.net (noreply_at_[hidden])
Date: 2006-09-16 14:45:52
Patches item #1547148, was opened at 2006-08-26 08:02
Message generated for change (Comment added) made by david_abrahams
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1547148&group_id=7586
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chromosom (chromosom)
Assigned to: David Abrahams (david_abrahams)
Summary: Add operator for __repr__ similar to __str__
Initial Comment:
Useful in interactive mode.
I use it together with the str operator
class_ < ... > ()
...
.def(self_ns::str(self))
.def(self_ns::repr(self))
;
----------------------------------------------------------------------
>Comment By: David Abrahams (david_abrahams)
Date: 2006-09-16 13:45
Message:
Logged In: YES
user_id=52572
Accepted into CVS HEAD. FYI, it's redundant to define both
__repr__ and __str__, since __str__ defaults to calling
__repr__.
Thanks very much; please contribute the accompanying
documentation patch next time :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1547148&group_id=7586
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk