summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2015-10-12 23:27:30 -0500
committerLevi Bostian <levi.bostian@gmail.com>2015-10-12 23:27:30 -0500
commit133baf5565f8ff1b39c7f3853ea8d50145538ab6 (patch)
tree15e2ad4e26a63d270f40f6a5f5bb18e9231e7b80 /python3.html.markdown
parentf4cfe81a2148c4bc40bce7d1e07b8ae8fb43331e (diff)
parent7d8bab656f154d4a58905fa4f0063b3e3824d4cf (diff)
Merge pull request #1478 from aayushranaut/master
Range is not a generator
Diffstat (limited to 'python3.html.markdown')
-rw-r--r--python3.html.markdown2
1 files changed, 0 insertions, 2 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 5a992b54..87fa0b70 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -664,8 +664,6 @@ def double_numbers(iterable):
# Instead of generating and returning all values at once it creates one in each
# iteration. This means values bigger than 15 wont be processed in
# double_numbers.
-# Note range is a generator too. Creating a list 1-900000000 would take lot of
-# time to be made
# We use a trailing underscore in variable names when we want to use a name that
# would normally collide with a python keyword
range_ = range(1, 900000000)