mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Fix re Pattern.groupindex annotation. (#1106)
This commit is contained in:
committed by
Jelle Zijlstra
parent
671d3870c2
commit
c2cdb1b025
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user