1
0
Fork 0

[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:
lf 2019-10-30 21:56:59 -07:00 committed by noroadsleft
parent 096a49c3dc
commit 6a75d10979

View file

@ -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