(original) (raw)
Hi,
I've found a lot of PEP8 inconsistencies in datetime documentation:
http://docs.python.org/py3k/library/datetime.html?highlight=datetime#datetime
class FixedOffset(tzinfo):It might be a good idea to pass code samples through some sort of code verificator (pylint).
"""Fixed offset in minutes east from UTC."""
def __init__(self, offset, name):self.__offset = timedelta(minutes = offset) # <-- shall be: minutes=offset
self.__name = name
Regards,
Denis