On Sat, Aug 13, 2016 at 01:25:58AM +0200, Victor Stinner wrote: > I tried to follow this discussion and I still to understand why my > proposition of "def clamp(min_val, value, max_val): return min(max(min_val, > value), max_val)" is not good. I expect that a PEP replies to this question > without to read the whole thread :-)
I said I would write up a summary, and I will. If you want to call it a PEP, I'm okay with that. I won't forget your proposal either :-) -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/