def call_getiter(context, builder, iterable_type, val):
 getiter_sig = typing.signature(iterable_type.iterator_type, iterable_type)
 getiter_impl = context.get_function('getiter', getiter_sig)
 return getiter_impl(builder, (val,))

def call_getiter ( context , builder , iterable_type , val ) : getiter_sig = typing . signature ( iterable_type . iterator_type , iterable_type ) getiter_impl = context . get_function ( 'getiter' , getiter_sig ) return getiter_impl ( builder , ( val , ) )
call the getiter() implementation for the given *iterable_type* of value *val* .