MCPcopy Index your code
hub / github.com/RustPython/RustPython / match

Method match

Lib/re/_parser.py:256–260  ·  view source on GitHub ↗
(self, char)

Source from the content-addressed store, hash-verified

254 self.index = index + 1
255 self.next = char
256 def match(self, char):
257 if char == self.next:
258 self.__next()
259 return True
260 return False
261 def get(self):
262 this = self.next
263 self.__next()

Callers 15

parse_templateFunction · 0.95
tokenFunction · 0.45
_matchMethod · 0.45
Internaldate2tupleFunction · 0.45
ParseFlagsFunction · 0.45
imaplib.pyFile · 0.45
_strptimeFunction · 0.45
attr_matchesMethod · 0.45
resolve_nameFunction · 0.45
apopMethod · 0.45
_date_from_stringFunction · 0.45

Calls 1

__nextMethod · 0.95

Tested by 4

_parse_exampleMethod · 0.36
_find_linenoMethod · 0.36
startTestMethod · 0.36