Commit 93ea851e authored by Georg Brandl's avatar Georg Brandl

Merge two minor doc changes into default.

parents 91ba8669 51663750
...@@ -1325,9 +1325,10 @@ successive matches:: ...@@ -1325,9 +1325,10 @@ successive matches::
line_start = pos line_start = pos
line += 1 line += 1
elif typ != 'SKIP': elif typ != 'SKIP':
val = mo.group(typ)
if typ == 'ID' and val in keywords: if typ == 'ID' and val in keywords:
typ = val typ = val
yield Token(typ, mo.group(typ), line, mo.start()-line_start) yield Token(typ, val, line, mo.start()-line_start)
pos = mo.end() pos = mo.end()
mo = gettok(s, pos) mo = gettok(s, pos)
if pos != len(s): if pos != len(s):
......
...@@ -805,7 +805,7 @@ always available. ...@@ -805,7 +805,7 @@ always available.
Python. Python.
The highest possible limit is platform-dependent. A user may need to set the The highest possible limit is platform-dependent. A user may need to set the
limit higher when she has a program that requires deep recursion and a platform limit higher when they have a program that requires deep recursion and a platform
that supports a higher limit. This should be done with care, because a too-high that supports a higher limit. This should be done with care, because a too-high
limit can lead to a crash. limit can lead to a crash.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment