Skip to content

Commit

Permalink
Doc: Fix: Proper UpperCamelCase and lowercase. (GH-14644)
Browse files Browse the repository at this point in the history
Initial report by Michael Blankenship on docs@
(cherry picked from commit 2da622f)

Co-authored-by: Julien Palard <julien@palard.fr>
  • Loading branch information
miss-islington and JulienPalard committed Jul 8, 2019
1 parent bc0a6ce commit 6f55748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/tutorial/controlflow.rst
Expand Up @@ -744,7 +744,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).

Expand Down

0 comments on commit 6f55748

Please sign in to comment.