MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / error

Method error

tools/python-3.11.9-amd64/Lib/re/_parser.py:299–302  ·  view source on GitHub ↗
(self, msg, offset=0)

Source from the content-addressed store, hash-verified

297 self.__next()
298
299 def error(self, msg, offset=0):
300 if not self.istext:
301 msg = msg.encode('ascii', 'backslashreplace').decode('ascii')
302 return error(msg, self.string, self.tell() - offset)
303
304 def checkgroupname(self, name, offset, nested):
305 if not name.isidentifier():

Callers 10

getuntilMethod · 0.95
checkgroupnameMethod · 0.95
parseFunction · 0.95
parse_templateFunction · 0.95
checklookbehindgroupMethod · 0.45
_class_escapeFunction · 0.45
_escapeFunction · 0.45
_parseFunction · 0.45
_parse_flagsFunction · 0.45
addgroupFunction · 0.45

Calls 4

tellMethod · 0.95
errorClass · 0.70
decodeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected