diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-11-16 20:33:12 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-11-16 20:33:12 -0500 |
commit | 68c92991eddf0a18328f3c81a6839ab0678a9521 (patch) | |
tree | cb232f2211f01b80308350b8f431bce4bceefe2f | |
parent | 4861a0d958f0ccc9d1dcca14dd9f8550dc47309c (diff) | |
download | kutter-68c92991eddf0a18328f3c81a6839ab0678a9521.tar.gz kutter-68c92991eddf0a18328f3c81a6839ab0678a9521.tar.xz kutter-68c92991eddf0a18328f3c81a6839ab0678a9521.zip |
docs: Minor example change in Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | docs/Code_Overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Code_Overview.md b/docs/Code_Overview.md index bd8c3075..80322a94 100644 --- a/docs/Code_Overview.md +++ b/docs/Code_Overview.md @@ -318,7 +318,7 @@ The following may also be useful: recommended to always assign and manipulate that variable with floating point constants (and never use integer constants). For 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 conversions. * If submitting the module for inclusion in the main Klipper code, be |