mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
* Fix bug in tzparse.py for DST timezone
* Added whatis command to pdb.py * new module GET.py (GL definitions from <gl/get.h>) * rect.py: is_empty takes a rect as argument, not two points. * Added tests for builtin round() [XXX not yet complete!]
This commit is contained in:
parent
04321d1e47
commit
e7113b6b3d
7 changed files with 51 additions and 9 deletions
|
@ -40,7 +40,7 @@ def tzset():
|
|||
tzstr = os.environ['TZ']
|
||||
tzparams = tzparse(tzstr)
|
||||
timezone = tzparams[1] * 3600
|
||||
altzone = timezone + 3600
|
||||
altzone = timezone - 3600
|
||||
daylight = 1
|
||||
tzname = tzparams[0], tzparams[2]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue