docstring of combinations(a, n) does not describe how combination is ordered, which is dictionary order indeed. In online documentation, combinations(a, n) located below of CoolLexCombinations, thus order returned by combinations(a, n) may be misunderstood as cool-lex, rather than dictionary order.

docstring of
combinations(a, n)does not describe how combination is ordered, which is dictionary order indeed. In online documentation,combinations(a, n)located below ofCoolLexCombinations, thus order returned bycombinations(a, n)may be misunderstood as cool-lex, rather than dictionary order.