(self, n, charset)
| 263 | self.__next() |
| 264 | return this |
| 265 | def getwhile(self, n, charset): |
| 266 | result = '' |
| 267 | for _ in range(n): |
| 268 | c = self.next |
| 269 | if c not in charset: |
| 270 | break |
| 271 | result += c |
| 272 | self.__next() |
| 273 | return result |
| 274 | def getuntil(self, terminator, name): |
| 275 | result = '' |
| 276 | while True: |
no test coverage detected