[Docs] Fix dunder names being accidentally bolded (#7217)
* Fix dunder names being accidentally bolded * Update docs/coding_conventions_python.md Co-Author: fauxpark <fauxpark@gmail.com> * Change all the "names to avoid" to use backticks
This commit is contained in:
parent
096a49c3dc
commit
6a75d10979
1 changed files with 3 additions and 3 deletions
|
@ -77,9 +77,9 @@ Always use a .py filename extension. Never use dashes.
|
||||||
|
|
||||||
## Names to Avoid
|
## Names to Avoid
|
||||||
|
|
||||||
* single character names except for counters or iterators. You may use "e" as an exception identifier in try/except statements.
|
* single character names except for counters or iterators. You may use `e` as an exception identifier in try/except statements.
|
||||||
* dashes (-) in any package/module name
|
* dashes (`-`) in any package/module name
|
||||||
* __double_leading_and_trailing_underscore__ names (reserved by Python)
|
* `__double_leading_and_trailing_underscore__` names (reserved by Python)
|
||||||
|
|
||||||
# Docstrings
|
# Docstrings
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue