mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
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
Block a user