diff options
author | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-06 10:26:05 (GMT) |
commit | 682d7e0e07bc29de4578f48be66756c5b969776f (patch) | |
tree | 4e1c379e13ebca676c4fbee38ed251ecc88c1133 /Doc/library/datetime.rst | |
parent | fa4f7f97b8af16c02441443e448986c07f4cd254 (diff) | |
download | cpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2 |
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r-- | Doc/library/datetime.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 714286f..b9adbcc 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -979,7 +979,7 @@ Instance methods: d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` is the day number within the current year starting with ``1`` for January 1st. The :attr:`tm_isdst` flag of the result is set according to the :meth:`dst` method: :attr:`tzinfo` is - ``None`` or :meth:`dst`` returns ``None``, :attr:`tm_isdst` is set to ``-1``; + ``None`` or :meth:`dst` returns ``None``, :attr:`tm_isdst` is set to ``-1``; else if :meth:`dst` returns a non-zero value, :attr:`tm_isdst` is set to ``1``; else :attr:`tm_isdst` is set to ``0``. |