A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/070878.html below:

[Python-Dev] Shortcut Notation for Chaining Method Calls

[Python-Dev] Shortcut Notation for Chaining Method Calls [Python-Dev] Shortcut Notation for Chaining Method CallsGreg 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4