MCPcopy Create free account
hub / github.com/python-pendulum/pendulum / plural

Method plural

src/pendulum/locales/locale.py:77–78  ·  view source on GitHub ↗
(self, number: int)

Source from the content-addressed store, hash-verified

75 return self.get(f"translations.{key}")
76
77 def plural(self, number: int) -> str:
78 return cast(str, self._data["plural"](number))
79
80 def ordinal(self, number: int) -> str:
81 return cast(str, self._data["ordinal"](number))

Callers 3

in_wordsMethod · 0.80
in_wordsMethod · 0.80
formatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected