diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2021-02-09 01:32:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 01:32:38 (GMT) |
commit | d65b9033d6d092552775f6f5e41e7647100f9f2c (patch) | |
tree | 2119b986b118b3dd773d9015f1bfd00f3114bbae /Doc/library | |
parent | e1f77695132e814728cda982f11342a2e3c7272c (diff) | |
download | cpython-d65b9033d6d092552775f6f5e41e7647100f9f2c.zip cpython-d65b9033d6d092552775f6f5e41e7647100f9f2c.tar.gz cpython-d65b9033d6d092552775f6f5e41e7647100f9f2c.tar.bz2 |
bpo-43162: [Enum] deprecate enum member.member access (GH-24486)
In 3.5 (?) a speed optimization made it possible to access members as
attributes of other members, i.e. ``Color.RED.BLUE``. This was always
discouraged in the docs, and other recent optimizations has made that
one no longer necessary. Because some may be relying on it anyway, it
is being deprecated in 3.10, and will be removed in 3.11.
Diffstat (limited to 'Doc/library')
0 files changed, 0 insertions, 0 deletions