-
Committer:
Matt Nordhoff
-
Date:
2009-10-22 08:22:27 UTC
-
mto:
(4797.2.18 2.1)
-
mto:
This revision was merged to the branch mainline in
revision
5045.
-
Revision ID:
mnordhoff@mattnordhoff.com-20091022082227-tje25q23zvcpaqfp
Make the Python version raise a TypeError, and do the length check before the type checks, as the C version does.
Use the C version's error message too; I like it better.
Adjust the test suite as well.