Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(50)

Unified Diff: Lib/test/test_trace.py

Issue 602: range: lean and mean (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/branches/py3k/
Patch Set: __len__ is back! Created 5 months, 2 weeks ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: Lib/test/test_trace.py
===================================================================
--- Lib/test/test_trace.py (revision 62635)
+++ Lib/test/test_trace.py (working copy)
@@ -161,7 +161,7 @@
# Tight loop with while(1) example (SF #765624)
def tightloop_example():
- items = range(0, 3)
+ items = list(range(0, 3))
try:
i = 0
while 1:
@@ -184,7 +184,7 @@
(7, 'return')]
def tighterloop_example():
- items = range(1, 4)
+ items = list(range(1, 4))
try:
i = 0
while 1: i = items[i]

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r338