r1chardj0n3s / parse

Parse strings using a specification based on the Python format() syntax.
http://pypi.python.org/pypi/parse
MIT License
1.71k stars 101 forks source link

what is the unused match arg in multiple functions? #173

Closed KRRT7 closed 11 months ago

KRRT7 commented 11 months ago

Hello, trying add type hinting to this code base, however i see a match argument but i don't see it used within the functions, so i'm wondering what is it? knowing what it is would help me type it properly, currently i'm just ignoring it here are some places where i'm seeing it https://github.com/r1chardj0n3s/parse/blob/master/parse.py#L70 https://github.com/r1chardj0n3s/parse/blob/master/parse.py#L109 https://github.com/r1chardj0n3s/parse/blob/master/parse.py#L113 and so on.

wimglenn commented 11 months ago

It is an re.Match object.