Raymond Hettinger added the comment:

The reversed() call is only executed once and is not inside the loop body, so 
its runtime is irrelevant to most shuffles.   Also, the reason that reversed() 
is used is that is adds clarity to the code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18511>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to