Jan-27-2021, 10:19 PM
(Jan-27-2021, 10:05 PM)bowlofred Wrote: Very interesting. Is that a different package? I'm not on ubuntu, so just installed via pip.I did not check the version explicitly but yeah it made me very angry. Luckily I found. Btw I found from documents ... Maybe they just updated ...
For this package, the iterable is the first argument.
>>> import inspect >>> import more_itertools >>> inspect.signature(more_itertools.grouper) <Signature (iterable, n, fillvalue=None)>