On 31.07.16 22:38, Victor Stinner wrote: > I dislike this API. What's the point of calling clamp(x)? clamp(b, a) is > min(a, b) and clamp(a, max_val=b) is just max(a, b). My point is that > all parameters must be mandatory. Seconded.