MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyCodec_RegisterError

Function PyCodec_RegisterError

Python/codecs.c:408–419  ·  view source on GitHub ↗

Register the error handling callback function error under the name name. This function will be called by the codec when it encounters an unencodable characters/undecodable bytes and doesn't know the callback name, when name is specified as the error parameter in the call to the encode/decode function. Return 0 on success, -1 on error */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

register_errorFunction · 0.85
_PyCodecRegistry_InitFunction · 0.85

Calls 4

_PyCodecRegistry_InitFunction · 0.85
PyCallable_CheckFunction · 0.85
PyErr_SetStringFunction · 0.85
PyDict_SetItemStringFunction · 0.85

Tested by

no test coverage detected