diff options
| author | Georg Brandl <georg@python.org> | 2006-08-08 11:56:21 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2006-08-08 11:56:21 (GMT) |
| commit | b0061c8e93aadc0d7e0c07734e04f056a8bcb8bb (patch) | |
| tree | a610ee0f9a065a56b6f6a8cc8891eb468016d170 /Objects/bufferobject.c | |
| parent | f3321b5e76e47286899265f3be103f958b22b912 (diff) | |
| download | cpython-b0061c8e93aadc0d7e0c07734e04f056a8bcb8bb.zip cpython-b0061c8e93aadc0d7e0c07734e04f056a8bcb8bb.tar.gz cpython-b0061c8e93aadc0d7e0c07734e04f056a8bcb8bb.tar.bz2 | |
Remove "non-mapping" and "non-sequence" from TypeErrors raised by
PyMapping_Size and PySequence_Size.
Because len() tries first sequence, then mapping size, it will always
raise a "non-mapping object has no len" error which is confusing.
Diffstat (limited to 'Objects/bufferobject.c')
0 files changed, 0 insertions, 0 deletions
