diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-02-10 23:32:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 23:32:18 (GMT) |
commit | bf15d5b775c31e65584926998ff141edc75226d4 (patch) | |
tree | 8e25b9958980deacd14731fe169c682b9f6c9fd8 /Doc/conf.py | |
parent | 95d024d585bd3ed627437a2f0cbc783c8a014c8a (diff) | |
download | cpython-bf15d5b775c31e65584926998ff141edc75226d4.zip cpython-bf15d5b775c31e65584926998ff141edc75226d4.tar.gz cpython-bf15d5b775c31e65584926998ff141edc75226d4.tar.bz2 |
Correct the documented default encoding (GH-18429)
From the source for `PyUnicode_Decode`, the implementation is:
```
if (encoding == NULL) {
return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
}
```
which is pretty clearly not defaulting to ASCII.
---
I assume this needs neither a news entry nor bpo link.
Diffstat (limited to 'Doc/conf.py')
0 files changed, 0 insertions, 0 deletions