[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>.


More information about the Python-Dev mailing list