mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Minor cosmetics
This commit is contained in:
@@ -14,7 +14,7 @@ class xrange(object):
|
|||||||
__slots__ = ['_slice']
|
__slots__ = ['_slice']
|
||||||
|
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
if args and isinstance(args[0], xrange):
|
if args and isinstance(args[0], type(self)):
|
||||||
self._slice = slice(args[0].start, args[0].stop, args[0].step)
|
self._slice = slice(args[0].start, args[0].stop, args[0].step)
|
||||||
else:
|
else:
|
||||||
self._slice = slice(*args)
|
self._slice = slice(*args)
|
||||||
|
|||||||
Reference in New Issue
Block a user