Added loss to the plurals dictionary.

This commit is contained in:
Jeremy Fincher 2003-10-27 23:57:34 +00:00
parent 6e911131fd
commit 7ae53ef169
1 changed files with 2 additions and 1 deletions

View File

@ -289,7 +289,8 @@ def ellipsisify(s, n):
return (textwrap.wrap(s, n-3)[0] + '...')
plurals = TwoWayDictionary({'match': 'matches',
'patch': 'patches',})
'patch': 'patches',
'loss': 'losses'})
def _matchCase(s1, s2):
"""Matches the case of s1 in s2"""
L = list(s2)