diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2013-09-25 14:14:41 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2013-09-25 14:14:41 (GMT) |
commit | e03ea37a7bea48c46e6d96851f471db0f3c8e6e2 (patch) | |
tree | 7b3ac5ca8ed5b94a29a80400e24746788c0b9efb /Lib/test/test_time.py | |
parent | 7cba5fd267219d23aec97fad91d73bea77daf5e2 (diff) | |
download | cpython-e03ea37a7bea48c46e6d96851f471db0f3c8e6e2.zip cpython-e03ea37a7bea48c46e6d96851f471db0f3c8e6e2.tar.gz cpython-e03ea37a7bea48c46e6d96851f471db0f3c8e6e2.tar.bz2 |
Close #19030: improvements to inspect and Enum.
inspect.getmembers and inspect.classify_class_attrs now search the metaclass
mro for types.DynamicClassAttributes (what use to be called
enum._RouteClassAttributeToGetattr); in part this means that these two
functions no longer rely solely on dir().
Besides now returning more accurate information, these improvements also
allow a more helpful help() on Enum classes.
Diffstat (limited to 'Lib/test/test_time.py')
0 files changed, 0 insertions, 0 deletions