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

Method isnum

src/dateutil/parser/_parser.py:209–211  ·  view source on GitHub ↗

Whether the next character is part of a number

(cls, nextchar)

Source from the content-addressed store, hash-verified

207
208 @classmethod
209 def isnum(cls, nextchar):
210 """ Whether the next character is part of a number """
211 return nextchar.isdigit()
212
213 @classmethod
214 def isspace(cls, nextchar):

Callers 1

get_tokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected