@type g_function: function @param g_function: Function that when called returns a generator. @type v_args: tuple @param v_args: Variable arguments to pass to the generator function. @type d_args: dict @param d_args: Variable arguments to pass to
(self, g_function, *v_args, **d_args)
| 121 | """ |
| 122 | |
| 123 | def __init__(self, g_function, *v_args, **d_args): |
| 124 | """ |
| 125 | @type g_function: function |
| 126 | @param g_function: Function that when called returns a generator. |
| 127 | |
| 128 | @type v_args: tuple |
| 129 | @param v_args: Variable arguments to pass to the generator function. |
| 130 | |
| 131 | @type d_args: dict |
| 132 | @param d_args: Variable arguments to pass to the generator function. |
| 133 | """ |
| 134 | self.__g_function = g_function |
| 135 | self.__v_args = v_args |
| 136 | self.__d_args = d_args |
| 137 | self.__g_object = None |
| 138 | |
| 139 | def __iter__(self): |
| 140 | "x.__iter__() <==> iter(x)" |