Fix re Pattern.groupindex annotation. (#1106)

This commit is contained in:
George King
2017-03-27 23:45:51 -04:00
committed by Jelle Zijlstra
parent 671d3870c2
commit c2cdb1b025
2 changed files with 3 additions and 3 deletions

View File

@@ -438,7 +438,7 @@ class Match(Generic[AnyStr]):
class Pattern(Generic[AnyStr]):
flags = 0
groupindex = 0
groupindex = ... # type: Mapping[str, int]
groups = 0
pattern = ... # type: AnyStr