So I went and wrote some tests. The documentation is incorrect; the parameter name is correct. So it should read:
allow_wraparound (boolean) - If *False* (default), the function will raise an OverflowError exception as soon as the counter wraps around. If True, the counter will simply restart from zero.
Note that the default (correctly, imho) remains False, so has shifted in the description above.
So I went and wrote some tests. The documentation is incorrect; the parameter name is correct. So it should read:
allow_wraparound (boolean) - If *False* (default), the function will raise an OverflowError exception as soon as the counter wraps around. If True, the counter will simply restart from zero.
Note that the default (correctly, imho) remains False, so has shifted in the description above.