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/2005-March/052241.html below:

[Python-Dev] Rationale for sum()'s design?

[Python-Dev] Rationale for sum()'s design? [Python-Dev] Rationale for sum()'s design?Michael Walter michael.walter at gmail.com
Thu Mar 17 02:52:01 CET 2005
On Thu, 17 Mar 2005 14:34:23 +1300, Greg Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> Not to mention that if the seq is empty, there's no
> way of knowing what T to instantiate...

You just use the same T as inferred for seq : sequence[T] <wink>.

Michael
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