We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9bf5aa commit 2ec3ed8Copy full SHA for 2ec3ed8
tests/test_complexity.py
@@ -50,6 +50,8 @@ def make_names(cls, width, letters=string.ascii_lowercase):
50
['a', 'b']
51
>>> list(TestComplexity.make_names(30))
52
['aa', 'ab', ..., 'bd']
53
+ >>> list(TestComplexity.make_names(17124))
54
+ ['aaa', 'aab', ..., 'zip']
55
"""
56
# determine how many products are needed to produce width
57
n_products = max(1, math.ceil(math.log(width, len(letters))))
0 commit comments