Fix re Pattern.groupindex annotation. (#1106)

This commit is contained in:
George King authored and Jelle Zijlstra committed 2017-03-27 20:45:51 -07:00
1 parent 671d3870c2
commit c2cdb1b025
2 files changed
+3 -3

No files matched your search

+1 -1
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