VoteIT / STVPoll

0 stars 3 forks source link

Update tiebreak_strategies.py #2

Closed luukasahola closed 1 year ago

luukasahola commented 1 year ago

Updated the resolve definitions to return the output either as "Candidates" or "Candidate".

schyffel commented 1 year ago

Pull request does not import typing.Union, and therefore does not work. Also, if it's going to work on Python 3.9 and earlier, it should replace all PEP 604 union typing with types.Union, and all tests must run successfully on that version.