Converting to lists into one dictionary

Magnus L. Hetland mlh at idt.ntnu.no
Tue Oct 5 17:10:09 EDT 1999


"Tim Peters" <tim_one at email.msn.com> writes:

>             raise ValueError("dict(seq1, seq2): seq2 must be at least "
>                              "as long as seq1")

Why? Why not pad with None? I think it would be worse if
len(seq2)>len(seq1) - because you couldn't pad the keys with Nones...

--

  Magnus
  Lie                                     Please forward all spam to
  Hetland                                                uce at ftc.gov




More information about the Python-list mailing list