diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-24 12:45:00 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-24 12:45:00 (GMT) |
| commit | 0030cd52dacdd95d2017a0947d661feb737449af (patch) | |
| tree | d05d29d8118ab100234c92606064519ec7413094 /Python/dynamic_annotations.c | |
| parent | 1e5fcc3dea4263a5c01ecc4cd9b5d755fab5ee6a (diff) | |
| download | cpython-0030cd52dacdd95d2017a0947d661feb737449af.zip cpython-0030cd52dacdd95d2017a0947d661feb737449af.tar.gz cpython-0030cd52dacdd95d2017a0947d661feb737449af.tar.bz2 | |
Issue #25227: Cleanup unicode_encode_ucs1() error handler
* Change limit type from unsigned int to Py_UCS4, to use the same type than the
"ch" variable (an Unicode character).
* Reuse ch variable for _Py_ERROR_XMLCHARREFREPLACE
* Add some newlines for readability
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions
