[docs] PEP8 conventions in documentation (original) (raw)
Denis Denisov abcdenis at gmail.com
Mon Apr 25 10:31:42 CEST 2011
- Previous message: [docs] [issue8040] It would be nice if documentation pages linked to other versions of the same document
- Next message: [docs] PEP8 conventions in documentation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [docs] [issue8040] It would be nice if documentation pages linked to other versions of the same document
- Next message: [docs] PEP8 conventions in documentation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]