Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2da622f

Browse files
authoredJul 8, 2019
Doc: Fix: Proper UpperCamelCase and lowercase. (pythonGH-14644)
Initial report by Michael Blankenship on docs@
1 parent e676244 commit 2da622f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Doc/tutorial/controlflow.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ extracted for you:
920920
bracketing constructs: ``a = f(1, 2) + g(3, 4)``.
921921

922922
* Name your classes and functions consistently; the convention is to use
923-
``CamelCase`` for classes and ``lower_case_with_underscores`` for functions
923+
``UpperCamelCase`` for classes and ``lowercase_with_underscores`` for functions
924924
and methods. Always use ``self`` as the name for the first method argument
925925
(see :ref:`tut-firstclasses` for more on classes and methods).
926926

0 commit comments

Comments
 (0)
Please sign in to comment.