[issue5094] datetime lacks concrete tzinfo implementation for UTC

Alexander Belopolsky report at bugs.python.org
Tue Jun 15 19:57:29 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

What about 

"""
.. method:: datetime.utcoffset()

   If :attr:`tzinfo` is ``None``, returns ``None``, else returns ...
"""

Should this use "return" too?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5094>
_______________________________________


More information about the Python-bugs-list mailing list