mirror of https://github.com/Mikaela/Limnoria.git
Oops, forgot the docstring.
This commit is contained in:
parent
2ffe5a13dd
commit
5ff709375e
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue