docs: Minor example change in Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4861a0d958
commit
68c92991ed
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue