mhammond / pywin32

Python for Windows (pywin32) Extensions
4.9k stars 783 forks source link

Use `sys.version_info`'s namedtuple fields #2227

Closed Avasam closed 2 months ago

Avasam commented 3 months ago

Using a namedtuple's fields rather than indexes leads to more human-readable code. This also goes in the direction of #2223