
11 Dec
2015
11 Dec
'15
1:09 a.m.
There definitely are timezones with other offsets than whole hours ( http://www.timeanddate.com/time/time-zones-interesting.html). The reason that timezone() takes a timedelta is to avoid mistakes in the units. The world is better off with a recipe or an example in the docs than with yet another variant to this API.
--
--Guido van Rossum (python.org/~guido)