Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/pages/naming_convention.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Python Naming Conventions
* Bad: data_structure, my_list, info_map, dictionary_for_the_purpose_of_storing_data_representing_word_definitions
* Good: user_profile, menu_options, word_definitions
* Don’t be a jackass and name things “O”, “l”, or “I”
* When using CamelCase names, capitalize all letters of an abbreviation (e.g. HTTPServer)
* When using CamelCase names, capitalize all letters of an acronym (e.g. HTTPServer)

2. Packages
===========
Expand Down Expand Up @@ -69,4 +69,4 @@ Python Naming Conventions
10. Constants
=============
* Constant names must be fully capitalized
* Words in a constant name should be separated by an underscore
* Words in a constant name should be separated by an underscore