@@ -312,28 +312,28 @@ def __delitem__(
312312
313313# Type hinting `collections.deque` does not work consistently between Python
314314# runtime, mypy and pyright currently so we have to ignore the errors
315- class SlicableDeque (types .Generic [T ], collections .deque ): # type: ignore
315+ class SliceableDeque (types .Generic [T ], collections .deque ): # type: ignore
316316 @typing .overload
317317 def __getitem__ (self , index : types .SupportsIndex ) -> T :
318318 ...
319319
320320 @typing .overload
321- def __getitem__ (self , index : slice ) -> 'SlicableDeque [T]' :
321+ def __getitem__ (self , index : slice ) -> 'SliceableDeque [T]' :
322322 ...
323323
324324 def __getitem__ (
325325 self , index : types .Union [types .SupportsIndex , slice ]
326- ) -> types .Union [T , 'SlicableDeque [T]' ]:
326+ ) -> types .Union [T , 'SliceableDeque [T]' ]:
327327 '''
328328 Return the item or slice at the given index.
329329
330- >>> d = SlicableDeque [int]([1, 2, 3, 4, 5])
330+ >>> d = SliceableDeque [int]([1, 2, 3, 4, 5])
331331 >>> d[1:4]
332- SlicableDeque ([2, 3, 4])
332+ SliceableDeque ([2, 3, 4])
333333
334- >>> d = SlicableDeque [str](['a', 'b', 'c'])
334+ >>> d = SliceableDeque [str](['a', 'b', 'c'])
335335 >>> d[-2:]
336- SlicableDeque (['b', 'c'])
336+ SliceableDeque (['b', 'c'])
337337
338338 '''
339339 if isinstance (index , slice ):
0 commit comments