This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author TheComet
Recipients TheComet
Date 2019-05-03.21:50:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556920200.45.0.0628062537563.issue36788@roundup.psfhosted.org>
In-reply-to
Content
It would be nice to have a clamp() builtin in addition to min() and max() so one can type e.g. "clamp(value, 2, 5)" instead of having to type "min(max(value, 5), 2)".
History
Date User Action Args
2019-05-03 21:50:00TheCometsetrecipients: + TheComet
2019-05-03 21:50:00TheCometsetmessageid: <1556920200.45.0.0628062537563.issue36788@roundup.psfhosted.org>
2019-05-03 21:50:00TheCometlinkissue36788 messages
2019-05-03 21:50:00TheCometcreate