summaryrefslogtreecommitdiffstats
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-23 06:44:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-23 06:44:50 (GMT)
commitcb33a01bbc933415efba1c5930ebd9237545f48a (patch)
treebb1366a2cee87b2737c54de7439620bde2e569b6 /Objects/exceptions.c
parent523c449ca0651ce2d06129671fe18d49946bee99 (diff)
downloadcpython-cb33a01bbc933415efba1c5930ebd9237545f48a.zip
cpython-cb33a01bbc933415efba1c5930ebd9237545f48a.tar.gz
cpython-cb33a01bbc933415efba1c5930ebd9237545f48a.tar.bz2
Issue #28510: Clean up decoding error handlers.
Since PyUnicodeDecodeError_GetObject() always returns bytes, following PyBytes_AsString() can be replaced with PyBytes_AS_STRING().
Diffstat (limited to 'Objects/exceptions.c')
0 files changed, 0 insertions, 0 deletions