Message408951
Link: https://docs.python.org/3/library/re.html#writing-a-tokenizer
Noticed that built-in type() class is being used inside the Tokenizer example:
class Token(NamedTuple):
type: str
value: str
line: int
column: int
Should this attribute be updated/renamed to kind or name perhaps ?
Happy to submit a PR once the change/replacement is confirmed. |
|
Date |
User |
Action |
Args |
2021-12-20 10:40:08 | vivekvashist | set | recipients:
+ vivekvashist, docs@python |
2021-12-20 10:40:08 | vivekvashist | set | messageid: <1639996808.31.0.346495346407.issue46137@roundup.psfhosted.org> |
2021-12-20 10:40:08 | vivekvashist | link | issue46137 messages |
2021-12-20 10:40:08 | vivekvashist | create | |
|