Skip to content

Commit 072e2a9

Browse files
committed
Oops.
1 parent 78407a6 commit 072e2a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unpythonic/it.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,9 @@ def partition_int(n, lower=1, upper=None):
617617
618618
**CAUTION**: The number of possible partitions grows very quickly with `n`,
619619
so in practice this is only useful for small numbers, or with a lower limit
620-
that is not too much smaller than `n` itself. A possible use case is
621-
determining the number of letters to allocate for each component of an
622-
anagram that may consist of several words.
620+
that is not too much smaller than `n / 2`. A possible use case for this
621+
function is to determine the number of letters to allocate for each
622+
component of an anagram that may consist of several words.
623623
624624
See:
625625
https://en.wikipedia.org/wiki/Partition_(number_theory)

0 commit comments

Comments
 (0)