Searched refs:coerce_to_int (Results 1 – 2 of 2) sorted by relevance
97 row_count = CoercionHelper.coerce_to_int(row_count)98 column_count = CoercionHelper.coerce_to_int(column_count)1684 def self.coerce_to_int(obj) singletonMethod1705 val = CoercionHelper.coerce_to_int(val)
223 >>> def coerce_to_int(x):237 In [6]: %timeit [coerce_to_int(x) for x in numbers]240 In [7]: %timeit [coerce_to_int(x) for x in not_numbers]302 ... coerce = coerce_to_float if as_float else coerce_to_int602 ... # Note that the coerce_to_int/coerce_to_float functions607 ... coerced_input = (coerce_to_int(s) for s in split_input)775 the ``else:`` block of :func:`coerce_to_int`/:func:`coerce_to_float`.904 be applied as part of the :func:`coerce_to_int`/:func:`coerce_to_float`