mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
d8320ecb86
In the parser, when using the type_comments=True option, recognize a TYPE_IGNORE as anything containing `# type: ignore` followed by a non-alphanumeric character. This is to allow ignores such as `# type: ignore[E1000]`.