Doc: Fix: Proper UpperCamelCase and lowercase. (GH-14644)

Initial report by Michael Blankenship on docs@
(cherry picked from commit 2da622ff77)

Co-authored-by: Julien Palard <julien@palard.fr>
This commit is contained in:
Miss Islington (bot) 2019-07-08 14:13:57 -07:00 committed by GitHub
parent cdada40b23
commit 975d4d3651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -920,7 +920,7 @@ extracted for you:
bracketing constructs: ``a = f(1, 2) + g(3, 4)``.
* Name your classes and functions consistently; the convention is to use
``CamelCase`` for classes and ``lower_case_with_underscores`` for functions
``UpperCamelCase`` for classes and ``lowercase_with_underscores`` for functions
and methods. Always use ``self`` as the name for the first method argument
(see :ref:`tut-firstclasses` for more on classes and methods).