mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
a88eb54312
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. |
||
---|---|---|
.. | ||
cicon.pl | ||
icon.pl | ||
macicon.py | ||
Makefile | ||
mkicon.py |