diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2015-03-19 01:19:30 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2015-03-19 01:19:30 (GMT) |
commit | 482fe0477e5923f0b8fff16c59052650cf7247cf (patch) | |
tree | 0b2ee2281894cda0a745373a8a5df9569a33ec55 /Modules/unicodedata_db.h | |
parent | d833779ceaebeb29352488ffddabf5fc2f070364 (diff) | |
download | cpython-482fe0477e5923f0b8fff16c59052650cf7247cf.zip cpython-482fe0477e5923f0b8fff16c59052650cf7247cf.tar.gz cpython-482fe0477e5923f0b8fff16c59052650cf7247cf.tar.bz2 |
issue23673
add private method to enum to support replacing global constants with Enum members:
- search for candidate constants via supplied filter
- create new enum class and members
- insert enum class and replace constants with members via supplied module name
- replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle
modify IntEnum classes to use new method
Diffstat (limited to 'Modules/unicodedata_db.h')
0 files changed, 0 insertions, 0 deletions