summaryrefslogtreecommitdiffstats
path: root/Modules/_bz2module.c
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2015-03-19 01:19:30 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2015-03-19 01:19:30 (GMT)
commit482fe0477e5923f0b8fff16c59052650cf7247cf (patch)
tree0b2ee2281894cda0a745373a8a5df9569a33ec55 /Modules/_bz2module.c
parentd833779ceaebeb29352488ffddabf5fc2f070364 (diff)
downloadcpython-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/_bz2module.c')
0 files changed, 0 insertions, 0 deletions