]> 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:49:29 +0000 (13:49 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Sep 2020 20:49:29 +0000 (13:49 -0700)
commitb502c7618d710d31517a7ee6a72890d0963e357a
treeef535605a8b80e149ad90a0ded990f52404af473
parentbf7d4d039c46232262a0f736f12761b085a6e7a8
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