commit | 17b4733f2ff0a4abc06e8c745755c06fc32942dd | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Apr 01 15:41:49 2020 +0300 |
committer | GitHub <noreply@github.com> | Wed Apr 01 15:41:49 2020 +0300 |
tree | c2c4d1144db8e4276ff0ebc74304d9008dcd10c1 | |
parent | 3ef4a7e5a7c29e17d5152d1fa6ceeb1fee269699 [diff] |
bpo-40130: _PyUnicode_AsKind() should not be exported. (GH-19265) Make it a static function, and pass known attributes (kind, data, length) instead of the PyUnicode object.