def _fromiter(it, dtype, count, progress, log):
    if progress > 0:
        it = _iter_withprogress(it, progress, log)
    if count is not None:
        a = np.fromiter(it, dtype=dtype, count=count)
    else:
        a = np.fromiter(it, dtype=dtype)
    return a
>>> print SampleNewStyleClass(-5).get()
dataset/ETHPy150Open alimanfoo/vcfnp/vcfnp/array.py/_fromiter--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_doctest.py/SampleNewStyleClass.get