Fixed skip function
This commit is contained in:
@@ -15,7 +15,7 @@ __title__ = 'cpl_query.base'
|
||||
__author__ = 'Sven Heidemann'
|
||||
__license__ = 'MIT'
|
||||
__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de'
|
||||
__version__ = '2022.12.1.post2'
|
||||
__version__ = '2022.12.1.post3'
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
@@ -23,4 +23,4 @@ from collections import namedtuple
|
||||
# imports:
|
||||
|
||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||
version_info = VersionInfo(major='2022', minor='12', micro='1.post2')
|
||||
version_info = VersionInfo(major='2022', minor='12', micro='1.post3')
|
||||
|
||||
@@ -431,7 +431,7 @@ class QueryableABC(Sequence):
|
||||
if _index is None:
|
||||
raise ArgumentNoneException(ExceptionArgument.index)
|
||||
|
||||
return type(self)(self.type, values=self[_index:])
|
||||
return type(self)(self.type, self[_index:])
|
||||
|
||||
def skip_last(self, _index: int) -> 'QueryableABC':
|
||||
r"""Skips all elements after index
|
||||
|
||||
Reference in New Issue
Block a user