summaryrefslogtreecommitdiffstats
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-31 13:48:41 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-31 13:48:41 (GMT)
commit06b8b027112a491af996d8be25ee79959f8c18dc (patch)
treeb9c0836a86b64eba20815eb74f48dcc4cf38443e /Objects/codeobject.c
parent674e9389e9fdadd622829f4833367ac3b38475b5 (diff)
downloadcpython-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