On Wed, 21 Nov 2012 14:49:05 +0000, Oscar Benjamin <oscar.j.benja...@gmail.com> 
wrote:
> On 21 November 2012 03:57, Leo <sdl....@gmail.com> wrote:
> > Sorry the python issue tracker seems broken (I cannot log in). So I am
> > posting it here.
> >
> > In the doc:
> >
> >   operator.attrgetter(attr[, args...])
> >   operator.itemgetter(item[, args...])
> >   operator.methodcaller(name[, args...])
> >
> > The signatures of these functions seem confusing. ARGS is not documented
> > and does not match the python implementation in the doc.
> 
> What documentation are you reading?

He's reading the operator module documentation.  I just ran into that
same thing the other day, but didn't think to file a bug report.  It
looks like the ``args`` stuff was incorrectly copy and pasted from the
methodcaller docs, where it is actually correct.

I've opened an issue:

    http://bugs.python.org/issue16523

--David
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to