On Wed, 21 Nov 2012 14:49:05 +0000, Oscar Benjamin <oscar.j.benjamin at gmail.com> wrote: > On 21 November 2012 03:57, Leo <sdl.web at 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4