mirror of https://github.com/python/cpython
Browse Source
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]`.pull/13254/head
committed by
Ivan Levkivskyi
3 changed files with 17 additions and 9 deletions
Loading…
Reference in new issue