Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26766
Modified Files:
win32timezone.py
Log Message:
Fix [ 1869457 ] doc error in win32timezone.py
Index: win32timezone.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32timezone.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** win32timezone.py 22 Feb 2007 00:20:52 -0000 1.7
--- win32timezone.py 14 Jan 2008 07:41:15 -0000 1.8
***************
*** 24,28 ****
>>> import win32timezone, datetime
>>> assert 'Mountain Standard Time' in win32timezone.GetTimeZoneNames()
! >>> tzi = TimeZoneInfo( 'Mountain Standard Time' )
>>> now = datetime.datetime.now( tzi )
--- 24,28 ----
>>> import win32timezone, datetime
>>> assert 'Mountain Standard Time' in win32timezone.GetTimeZoneNames()
! >>> tzi = win32timezone.TimeZoneInfo( 'Mountain Standard Time' )
>>> now = datetime.datetime.now( tzi )
|