diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-07-03 13:25:24 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-07-03 13:25:24 (GMT) |
commit | 3efca3996a84f93e6246f211af51f0ff8d539366 (patch) | |
tree | 3098e30214b01f85cb1073511ce6298e161248f9 | |
parent | 64c367175d7d1586e138a328d628aed121c1e225 (diff) | |
download | cpython-3efca3996a84f93e6246f211af51f0ff8d539366.zip cpython-3efca3996a84f93e6246f211af51f0ff8d539366.tar.gz cpython-3efca3996a84f93e6246f211af51f0ff8d539366.tar.bz2 |
Merged revisions 73805 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r73805 | benjamin.peterson | 2009-07-03 08:18:18 -0500 (Fri, 03 Jul 2009) | 1 line
xrange -> range
........
-rw-r--r-- | Lib/lib2to3/refactor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py index c5398c8..339b94f 100644 --- a/Lib/lib2to3/refactor.py +++ b/Lib/lib2to3/refactor.py @@ -550,7 +550,7 @@ class MultiprocessRefactoringTool(RefactoringTool): raise RuntimeError("already doing multiple processes") self.queue = multiprocessing.JoinableQueue() processes = [multiprocessing.Process(target=self._child) - for i in xrange(num_processes)] + for i in range(num_processes)] try: for p in processes: p.start() @@ -558,7 +558,7 @@ class MultiprocessRefactoringTool(RefactoringTool): doctests_only) finally: self.queue.join() - for i in xrange(num_processes): + for i in range(num_processes): self.queue.put(None) for p in processes: if p.is_alive(): |