MCPcopy Create free account
hub / github.com/dateutil/dateutil / ampm

Method ampm

src/dateutil/parser/_parser.py:336–340  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

334 return None
335
336 def ampm(self, name):
337 try:
338 return self._ampm[name.lower()]
339 except KeyError:
340 return None
341
342 def pertain(self, name):
343 return name.lower() in self._pertain

Callers 2

_parseMethod · 0.80
_parse_numeric_tokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected