1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/icons
Colin Watson a88eb54312 mkicon.py: Use Python 3's true division mode.
In Python 2, x/y means floor division if both x and y are ints, and true
division otherwise: that is, 1/2 == 0.  In Python 3, x/y always means
true division even if both x and y are ints, so 1/2 == 0.5.

To prepare for porting to Python 3, change all the places that relied on
floor division to use the more explicit // operator, and use "from
__future__ import division" to change the / operator to use Python 3's
semantics even in Python 2.  Both of these features have been available
since Python 2.2.
2019-08-31 13:15:17 +01:00
..
cicon.pl Shiny new script which constructs the various icons for the PuTTY 2007-01-06 18:15:35 +00:00
icon.pl Improve error reporting. 2007-01-22 14:04:33 +00:00
macicon.py Use NetPBM .pam as an intermediate format in the icon makefile. 2016-03-23 06:58:56 +00:00
Makefile Make an OS X icon for pterm as well as PuTTY. 2016-03-23 22:02:46 +00:00
mkicon.py mkicon.py: Use Python 3's true division mode. 2019-08-31 13:15:17 +01:00