__hash__ not in genindex.html

Thomas Heller theller at python.net
Wed May 28 13:35:55 EDT 2003


> > It would be nice if __hash__ would be in:
> >  http://www.python.org/doc/lib/genindex.html
> 
> Hm... but __hash__ is not documented in the Library Reference, so
> it's not obvious what such an index entry would refer to.
> 
> The other __foo__ in the Library Reference index are actually from
> the operator module, which does not include hash(), since that's a
> built-in function anyway.  (Note that hash() *is* documented in
> the Library Reference
>     <http://www.python.org/doc/lib/built-in-funcs.html#l2h-26>
> and does appear in the index.)
> 
> __hash__ is documented among the other special methods in the
> Language Reference
>     <http://www.python.org/doc/ref/customization.html#l2h-97>
> and appears in the corresponding index.
> 
> (An amalgamated index for all the documentation might be useful.)

The pyhelp.cgi search 'engine' finds __hash__ by searching all indexes
of the Python manuals, you can even use regular expressions to search:

http://starship.python.net/crew/theller/pyhelp.cgi?keyword=__hash__&version=devel

Thomas




More information about the Python-list mailing list