[wingide-users] __repr__, print self and debug probe

Luc Bourhis luc_j_bourhis at mac.com
Sun Sep 19 13:39:48 MDT 2010


>  A work-around would be to define a method noop() that returns nothing (same as returning None) and adding that at the end of the chain:
> 
> xs.show_summary().show_scatterers().noop()

In fact, there is a universal solution which works without having to touch the source code:

xs.show_summary().__class__

Luc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3681 bytes
Desc: not available
Url : /pipermail/wingide-users/attachments/20100919/73575cfc/smime.bin


More information about the wingide-users mailing list