[Python-Dev] Rationale for sum()'s design? (original) (raw)
Michael Walter michael.walter at gmail.com
Thu Mar 17 02:52:01 CET 2005
- Previous message: [Python-Dev] Problems with definition of _POSIX_C_SOURCE
- Next message: [Python-Dev] Python 2.4 won the "Jolt productivity award" last night
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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] .
Michael
- Previous message: [Python-Dev] Problems with definition of _POSIX_C_SOURCE
- Next message: [Python-Dev] Python 2.4 won the "Jolt productivity award" last night
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]