New submission from Vivek Vashist <vivekvash...@gmail.com>:
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. ---------- assignee: docs@python components: Documentation messages: 408951 nosy: docs@python, vivekvashist priority: normal severity: normal status: open title: Update/change built-in keyword type used in RE example versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46137> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com