mirror of https://github.com/python/cpython.git
Fixed markup of tm_isdst attribute.
This commit is contained in:
parent
619f16e194
commit
094c53cf6e
|
@ -928,7 +928,7 @@ Instance methods:
|
|||
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``;
|
||||
else if :meth:`dst` returns a non-zero value, :attr:`tm_isdst` is set to ``1``;
|
||||
else ``tm_isdst`` is set to ``0``.
|
||||
else :attr:`tm_isdst` is set to ``0``.
|
||||
|
||||
|
||||
.. method:: datetime.utctimetuple()
|
||||
|
|
Loading…
Reference in New Issue