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

Method isnum

src/dateutil/parser/_parser.py:203–205  ·  view source on GitHub ↗

Whether the next character is part of a number

(cls, nextchar)

Source from the content-addressed store, hash-verified

201
202 @classmethod
203 def isnum(cls, nextchar):
204 """ Whether the next character is part of a number """
205 return nextchar.isdigit()
206
207 @classmethod
208 def isspace(cls, nextchar):

Callers 1

get_tokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected