File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -543,14 +543,14 @@ def __getitem__(self, index):
543
543
skip = 0
544
544
if index .start is not None :
545
545
if index .start < 0 :
546
- raise IndexError ("Cursor instances do not support"
546
+ raise IndexError ("Cursor instances do not support "
547
547
"negative indices" )
548
548
skip = index .start
549
549
550
550
if index .stop is not None :
551
551
limit = index .stop - skip
552
552
if limit < 0 :
553
- raise IndexError ("stop index must be greater than start"
553
+ raise IndexError ("stop index must be greater than start "
554
554
"index for slice %r" % index )
555
555
if limit == 0 :
556
556
self .__empty = True
@@ -563,7 +563,7 @@ def __getitem__(self, index):
563
563
564
564
if isinstance (index , integer_types ):
565
565
if index < 0 :
566
- raise IndexError ("Cursor instances do not support negative"
566
+ raise IndexError ("Cursor instances do not support negative "
567
567
"indices" )
568
568
clone = self .clone ()
569
569
clone .skip (index + self .__skip )
You can’t perform that action at this time.
0 commit comments