def coerce_pos(thing):
    if isinstance(thing, tuple):
        return Pos(*thing)
    if isinstance(thing, (int, float)):
        return Pos(thing, thing)
    msg = "Cannot coerce object of type '%s' to a Pos"
    raise ValueError(msg % type(thing).__name__)
The filename of the module in which the record has been created.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/popup_view.py/coerce_pos--crossover with--dataset/ETHPy150Open getlogbook/logbook/logbook/base.py/LogRecord.filename