Searched refs:endpos (Results 1 – 2 of 2) sorted by relevance
171 def finditer(klass, content: str, pos=0, endpos=-1) -> Iterable[Match]: argument173 if endpos >= 0:174 content = content[:endpos]178 def domatch(klass, content: str, pos=0, endpos=-1) -> Optional[Match]: argument180 if endpos >= 0:181 content = content[:endpos]
78 endpos = self.file.tell()79 self.file.seek(max(-endpos, -10 * 1024 * 1024), os.SEEK_END)