DOC: document PyPy version that use KeyError instead of IndexError

pull/520/head
Daniel Black 2013-12-27 12:59:37 +00:00
parent d3c065bf76
commit 1f1fe254a6
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class Regex:
if self._matchCache.group("skiplines%i" % n) is not None:
skippedLines += self._matchCache.group("skiplines%i" % n)
n += 1
# KeyError is because of PyPy
# KeyError is because of PyPy issue1665 affecting pypy <= 2.2.1
except (IndexError, KeyError):
break
return skippedLines.splitlines(False)