MCPcopy Index your code
hub / github.com/python/cpython / error

Method error

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):
305 if not (self.istext or name.isascii()):

Callers 15

getuntilMethod · 0.95
checkgroupnameMethod · 0.95
parseFunction · 0.95
parse_templateFunction · 0.95
create_unix_serverMethod · 0.45
_stop_servingMethod · 0.45
_validate_argsFunction · 0.45
populateBytecodePanelFunction · 0.45

Calls 4

tellMethod · 0.95
errorClass · 0.50
decodeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected