mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
30c7fec67e
Python 3 changed the built-in round() function to use round-to-even for exact half-way cases. While this eliminates a bias away from zero and is thus a better choice in many cases, it's not what mkicon.py expected. Shadow the built-in with an invocation of the decimal module instead: this produces identical results for mkicon.py's purposes on both Python 2 and 3. |
||
---|---|---|
.. | ||
cicon.pl | ||
icon.pl | ||
macicon.py | ||
Makefile | ||
mkicon.py |