list subsetting

MRAB google at mrabarnett.plus.com
Wed Jan 21 19:18:37 EST 2009


culpritNr1 wrote:
> Thank you Fogelbird and Jeff.
> 
> I actually tried to find out if such function existed. I did
> 
>>>> help("count")
> no Python documentation found for 'count'
> 
[snip]
'count' is a method of the list class, so you need:

help(list.count)

and if you want help on the list class then it's:

help(list)

Note that they aren't quoted.



More information about the Python-list mailing list