Loïc Le Loarer <loic.le-loa...@m4x.org> added the comment: Thanks a lot for the clear answer, sorry for not having read the online documentation, I only read the help(itertools.groupby) which has much less details.
And for my use case, I can use an explicit command just to compute the number of groups. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31614> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com