[docs] PEP8 conventions in documentation (original) (raw)

Denis Denisov abcdenis at gmail.com
Mon Apr 25 10:31:42 CEST 2011


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): """Fixed offset in minutes east from UTC."""

def __init__(self, offset, name):

    self.__offset = timedelta(minutes = offset) # <-- shall be:

minutes=offset

    self.__name = name

It might be a good idea to pass code samples through some sort of code verificator (pylint).

Regards, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/docs/attachments/20110425/f33d8c86/attachment.html>



More information about the docs mailing list