(prefix='_', *args, spec_count=count, **kwargs)
Continually generate names with `prefix`, e.g. '_1', '_2', ...
Continually generate names with `prefix`, e.g. '_1', '_2', ...
Continually generate names with prefix e . g . _1 _2 ...
def namegen(prefix='_', *args, spec_count=count, **kwargs):
    """Continually generate names with `prefix`, e.g. '_1', '_2', ..."""
    spec_count = iter(spec_count(*args, **kwargs))
    while True:
        yield prefix + str(next(spec_count))
def namegen ( prefix = '_' , * args , spec_count = count , * * kwargs ) : spec_count = iter ( spec_count ( * args , * * kwargs ) ) while True : yield prefix + str ( next ( spec_count ) )