We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7e66c commit c09a92bCopy full SHA for c09a92b
html5lib/inputstream.py
@@ -63,7 +63,7 @@ def tell(self):
63
return pos
64
65
def seek(self, pos):
66
- assert pos < self._bufferedBytes()
+ assert pos <= self._bufferedBytes()
67
offset = pos
68
i = 0
69
while len(self.buffer[i]) < offset:
0 commit comments