From c886e19ac9ff203505b22d687a6ac86265d17bdc Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 25 Dec 2021 13:27:11 +1100 Subject: [PATCH] docs: fix simple typo, elimiate -> eliminate There is a small typo in pyvotecore/stv.py. Should read `eliminate` rather than `elimiate`. --- pyvotecore/stv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyvotecore/stv.py b/pyvotecore/stv.py index 411cffb..887ee38 100644 --- a/pyvotecore/stv.py +++ b/pyvotecore/stv.py @@ -85,7 +85,7 @@ def calculate_results(self): # Remove candidates from remaining ballots ballots = self.remove_candidates_from_ballots(round["winners"], ballots) - # If no candidate exceeds the quota, elimiate the least preferred + # If no candidate exceeds the quota, eliminate the least preferred else: round.update(self.loser(round["tallies"])) remaining_candidates.remove(round["loser"])