Cosimo Lupo f742ea07e8
py23: in round3, avoid rounding if number is already int; return the same type when called with two args
We only define 'round3' for PY2 and 'round2' for PY3, and also make sure 'round3' is always an alias of
the built-in 'round' on Python 3; and similarly 'round2' is an alias of built-in 'round' on Python 2.

Thus, for clarity, one can do:

    from fontTools.misc.py23 import round3 as round

or

    from fontTools.misc.py23 import round2 as round

and be certain that the fast built-in implementation will be used on the
respective python major version.
2016-11-30 12:58:58 +00:00
..
2016-11-21 11:26:57 +09:00
2016-11-29 14:42:20 +01:00
2016-11-24 17:19:58 +00:00
2015-04-26 02:17:13 -04:00
2016-09-27 19:53:58 +02:00
2016-09-27 19:49:41 +02:00
2016-11-08 14:06:50 -08:00