Oops, forgot the docstring.

This commit is contained in:
Jeremy Fincher 2003-10-16 20:06:17 +00:00
parent 2ffe5a13dd
commit 5ff709375e
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ def pluralize(i, s):
return s + 's'
def depluralize(s):
"""Returns the singular of s."""
lowered = s.lower()
if lowered in plurals:
return _matchCase(s, plurals[lowered])