MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / convert

Method convert

example_code/item_065.py:216–217  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

214
215class FloatField(Field):
216 def convert(self, value):
217 return float(value)
218
219
220print("Example 13")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected