Mercurial > cpython-lru_cache-weakref
diff Lib/datetime.py @ 72985:e19ccbbe70dd 3.2
Remove duplication.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Wed, 19 Oct 2011 10:58:56 +0300 |
| parents | 76180cc853b6 |
| children | bfbe144986d7 9fba12ceb2fd |
line wrap: on
line diff
--- a/Lib/datetime.py Tue Oct 18 21:17:39 2011 +0200 +++ b/Lib/datetime.py Wed Oct 19 10:58:56 2011 +0300 @@ -2057,7 +2057,7 @@ Because we know z.d said z was in daylight time (else [5] would have held and we would have stopped then), and we know z.d != z'.d (else [8] would have held -and we we have stopped then), and there are only 2 possible values dst() can +and we have stopped then), and there are only 2 possible values dst() can return in Eastern, it follows that z'.d must be 0 (which it is in the example, but the reasoning doesn't depend on the example -- it depends on there being two possible dst() outcomes, one zero and the other non-zero). Therefore
