summaryrefslogtreecommitdiffstats
path: root/Demo/classes
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-01-26 16:04:38 (GMT)
committerGuido van Rossum <guido@python.org>1994-01-26 16:04:38 (GMT)
commit62326f21086fee1f217a3cfdff7f107b4a52390e (patch)
tree2a3c73ca9a6bef914fbb6b289f2ce840e70cf721 /Demo/classes
parent6dfccb34c2a32fb7b959f60fadc324adcc3e91a0 (diff)
downloadcpython-62326f21086fee1f217a3cfdff7f107b4a52390e.zip
cpython-62326f21086fee1f217a3cfdff7f107b4a52390e.tar.gz
cpython-62326f21086fee1f217a3cfdff7f107b4a52390e.tar.bz2
builtin -> __builtin__
Diffstat (limited to 'Demo/classes')
-rwxr-xr-xDemo/classes/Range.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/classes/Range.py b/Demo/classes/Range.py
index e7b6be2..c958f5a 100755
--- a/Demo/classes/Range.py
+++ b/Demo/classes/Range.py
@@ -53,7 +53,7 @@ class Range:
# Small test program
def test():
- import time, builtin
+ import time, __builtin__
print range(10), range(-10, 10), range(0, 10, 2)
for i in range(100, -100, -10): print i,
print
@@ -61,7 +61,7 @@ def test():
for i in range(1000):
pass
t2 = time.millitimer()
- for i in builtin.range(1000):
+ for i in __builtin__.range(1000):
pass
t3 = time.millitimer()
print t2-t1, 'msec (class)'