Skip to Search
Skip to Navigation
Skip to Content
Community
|
Code
|
Docs
|
Downloads
▼
Perl
Python
Tcl
Komodo IDE
|
more
▼
Lists
Support
PPM Index
PyPM Index
Welcome, guest
|
Sign In
|
My Account
|
Store
|
Cart
ActiveState Code
»
Recipes
Languages
Tags
Authors
Sets
Recipe 577804 revision 1
from sys import version_info as version if version.major == 2: range = xrange
« Back to Recipe 577804
History
revision 1
(12 years ago)
x
Undo