]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40721: add note about enum member name case (GH-22231)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Sep 2020 20:42:38 +0000 (13:42 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Sep 2020 20:42:38 +0000 (13:42 -0700)
commit624cc10ee4aae513be9f2812f6f5621b6f32f17c
treef00f95476db256021ac0752d47f7742cfb3d7acb
parentb007a9be6fab6d55deae070e5eaef9755794e169
bpo-40721: add note about enum member name case (GH-22231)

* UPPER_CASE preferred as enum members are constants
(cherry picked from commit 542e1df2b018ee7068dba8076f2d6e84efd6e144)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Doc/library/enum.rst