summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown
index d1b88b25..aa077e57 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -47,7 +47,7 @@ to Python 2.x. Look for another tour of Python 3 soon!
# Truncation or Integer division
5 // 3 # => 1
-5.0 // 3.0 # => 1.0
+5.0 // 3.0 # => 1.0 # works on floats too
# Modulo operation
7 % 3 # => 1