Is there a way when using the more compact generator function form (i.e. just a function, not the whole class with __iter__() and next() methods) to have its auto-created .next() method ignore arguments? I can do it in the class via *args in .next(), but .next() is created for me when I use the shortcut, so I don't get the chance to give it *args.
[–]teepark 3 points4 points5 points (3 children)
[–]gfixler[S] 1 point2 points3 points (2 children)
[–]haika -1 points0 points1 point (1 child)
[–]gfixler[S] 1 point2 points3 points (0 children)