[issue10122] Documentation typo fix and a side question

2010-11-26 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

I don't waste my time by merging every little typo fix to the maintenance 
branches immediately; I rather merge them all at once every now and then.  You 
will certainly understand that nobody is harmed by a stray d, even if it has 
a pointy tip.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-11-25 Thread Senthil Kumaran

Senthil Kumaran orsent...@gmail.com added the comment:

Boštjan, it is fixed. The change will reflect when the docs get served
from the updated version. 

Also, Georg will take care of merging it to other branches.

--
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-11-25 Thread Boštjan Mejak

Boštjan Mejak bostjan.me...@gmail.com added the comment:

The change is still not reflected. Why not? It's been more than a
month now. What is going on?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-11-19 Thread Boštjan Mejak

Boštjan Mejak bostjan.me...@gmail.com added the comment:

If you visit  
http://docs.python.org/library/functions.html?highlight=getattr#getattr  there 
is still the word 'attributed' present in online docs. Please fix the docs 
completely.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-10-16 Thread Retro

New submission from Retro vinet...@gmail.com:

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.

--
assignee: d...@python
components: Documentation
messages: 118869
nosy: Retro, d...@python
priority: normal
severity: normal
status: open
title: Documentation typo fix and a side question
versions: 3rd party, Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 
3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-10-16 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

No, that would be incorrect syntax (if you omit the optional argument you 
should also omit the comma that precedes it).

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-10-16 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
type:  - behavior
versions:  -3rd party, Python 2.5, Python 2.6, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10122] Documentation typo fix and a side question

2010-10-16 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Typo fixed in r85572.  Otherwise, as David says.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10122
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com