This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Retro
Recipients Retro, docs@python
Date 2010-10-16.14:09:01
SpamBayes Score 0.0014892158
Marked as misclassified No
Message-id <1287238144.34.0.432770346734.issue10122@psf.upfronthosting.co.za>
In-reply-to
Content
Please read the first sentence of the docs for the built-in function getattr() here: http://docs.python.org/library/functions.html?highlight=getattr#getattr

Fix the word 'attributed' to 'attribute', because the former is a typo.



A side question. When you document an object's API in the docstring, you write it like this:
getattr(object, name[, default]) -> value

Don't you find it nicer if that would look like this:
getattr(object, name, [default]) -> value

Note the cosmetic fix between the arguments 'name' and 'default'. Do you find my fix acceptable? If yes, please fix docstrings in Python that document the object's API from the '...name[, default]...' format to '...name, [default]...' format.
History
Date User Action Args
2010-10-16 14:09:04Retrosetrecipients: + Retro, docs@python
2010-10-16 14:09:04Retrosetmessageid: <1287238144.34.0.432770346734.issue10122@psf.upfronthosting.co.za>
2010-10-16 14:09:02Retrolinkissue10122 messages
2010-10-16 14:09:01Retrocreate