tsgates/pylookup — pull request #16 by tkf (2011-12-04 18:39:53+00:00)
Title: Added --insensitive and --desc search option

When I want to search `matplotlib.pyplot.plot`, `./pylookup.py -l plot` gives 2563 candidates, which are too many to go through. This is because any entries in the matplotlib module has the word in `Element.desc`. So I added a command line switch to inhibit search on `Element.desc`, then the search gave only 92 candidates! I think this patch can be useful in many other cases.