]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Improve consistency of colorsys.rgb_to_hsv (GH-27277)
authorseb-hub <45536464+seb-hub@users.noreply.github.com>
Fri, 23 Jul 2021 12:59:30 +0000 (14:59 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Jul 2021 12:59:30 +0000 (09:59 -0300)
commit7d28a6eb90e2e381e13ba21073c6868fdf6eb058
treea08f8f6b02759d3330bbf6c3c5014570cc4b5a7a
parent17575f73ce2cb9f3a4eb4cc416c690f9a4e7205c
Improve consistency of colorsys.rgb_to_hsv (GH-27277)

Cache repeated difference to make code easier to read and consistent with colorsys.rgb_to_hls.
Lib/colorsys.py