[Python-ideas] Method chaining notation
Guido van Rossum
guido at python.org
Fri Feb 21 22:57:26 CET 2014
On Fri, Feb 21, 2014 at 1:37 PM, Terry Reedy <tjreedy at udel.edu> wrote:
> Off the top of my head, I cannot think of any methods that return self.
> (If there are some, someone please remind or inform me.)
>
That's because I don't like this pattern. :-)
But there's some code in the stdlib that uses it (IIRC Eric Raymond was a
fan), and I'm sure there's lots of 3rd party Python code too.
--
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140221/c1aad6f2/attachment-0001.html>
More information about the Python-ideas
mailing list