Method chaining

Laszlo Nagy gandalf at shopzeus.com
Sat Nov 23 11:08:03 EST 2013


>
> OK, that one is disgusting...
>
> Anyway, I'd like to see a sequence of method names taken from actual code
> that profits from this chaining pattern.
>
Actually, wx.lib.agw uses this a lot. Especially for AuiPaneInfo:

http://www.wxpython.org/docs/api/wx.aui.AuiPaneInfo-class.html

All right, this is a C++ proxy. But still, it is actively used by many.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Python-list mailing list