diff options
author | Guido van Rossum <guido@python.org> | 2007-08-31 13:48:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-31 13:48:41 (GMT) |
commit | 06b8b027112a491af996d8be25ee79959f8c18dc (patch) | |
tree | b9c0836a86b64eba20815eb74f48dcc4cf38443e /Objects/codeobject.c | |
parent | 674e9389e9fdadd622829f4833367ac3b38475b5 (diff) | |
download | cpython-06b8b027112a491af996d8be25ee79959f8c18dc.zip cpython-06b8b027112a491af996d8be25ee79959f8c18dc.tar.gz cpython-06b8b027112a491af996d8be25ee79959f8c18dc.tar.bz2 |
Per Georg's suggestion, get rid of str.decode() (which always raises an
exception) and change bytes.find() to use _getbuffer(), so b"".find("")
will raise TypeError instead of SystemError.
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions