You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just noticed that the annotation for typing.Match.groups() seems to be wrong. It's currently at ... -> Sequence[AnyStr]: ..., but I believe it should be ... -> Sequence[Optional[AnyStr]]: .... This documentation seems to agree: https://docs.python.org/3/library/re.html#re.Match.groups
Hi,
Just noticed that the annotation for
typing.Match.groups()
seems to be wrong. It's currently at... -> Sequence[AnyStr]: ...
, but I believe it should be... -> Sequence[Optional[AnyStr]]: ...
. This documentation seems to agree: https://docs.python.org/3/library/re.html#re.Match.groupsoutputs this on Python 3.8:
Fix candidate here: #4381
The text was updated successfully, but these errors were encountered: