MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / set_converter

Function set_converter

pythonwhat/State.py:338–340  ·  view source on GitHub ↗
(key, fundef)

Source from the content-addressed store, hash-verified

336
337# global setters on State -----------------------------------------------------
338def set_converter(key, fundef):
339 # note that root state is set on the State class in test_exercise
340 State.root_state.converters[key] = fundef

Callers 1

test_manual_converter_2Function · 0.90

Calls

no outgoing calls

Tested by 1

test_manual_converter_2Function · 0.72