[Python-Dev] Shortcut Notation for Chaining Method Calls (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 4 00:34:27 CET 2007


dustin at v.igoro.us wrote:

I think there's room for debate on whether specific list methods that currently return None should instead return the list, although I would definitely consult the archives before entering that fray.

Indeed. It's been discussed many times before.

It was a deliberate decision to have those methods return None, because it makes it clear that they operate in-place. I doubt that Guido's thinking on that has changed at all.

-- Greg



More information about the Python-Dev mailing list