mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Another update for an Issue #352
This commit is contained in:
@@ -9,6 +9,14 @@ class xrange(object):
|
||||
"""
|
||||
Advanced (re)implementation of xrange (supports slice/copy/etc.)
|
||||
Reference: http://code.activestate.com/recipes/521885-a-pythonic-implementation-of-xrange/
|
||||
|
||||
>>> foobar = xrange(1, 10)
|
||||
>>> 7 in foobar
|
||||
True
|
||||
>>> 11 in foobar
|
||||
False
|
||||
>>> foobar[0]
|
||||
1
|
||||
"""
|
||||
|
||||
__slots__ = ['_slice']
|
||||
|
||||
Reference in New Issue
Block a user