docs: Minor example change in Code_Overview.md

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-11-16 20:33:12 -05:00
parent 4861a0d958
commit 68c92991ed
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ The following may also be useful:
recommended to always assign and manipulate that variable with recommended to always assign and manipulate that variable with
floating point constants (and never use integer constants). For floating point constants (and never use integer constants). For
example, prefer `self.speed = 1.` over `self.speed = 1`, and prefer example, prefer `self.speed = 1.` over `self.speed = 1`, and prefer
`self.speed *= 2.` over `self.speed *= 2`. Consistent use of `self.speed = 2. * x` over `self.speed = 2 * x`. Consistent use of
floating point values can avoid hard to debug quirks in Python type floating point values can avoid hard to debug quirks in Python type
conversions. conversions.
* If submitting the module for inclusion in the main Klipper code, be * If submitting the module for inclusion in the main Klipper code, be