
June 30, 2011
12:38 p.m.
On 2011-06-30, at 14:29 , Ben Finney wrote:
Sturla Molden <sturla@molden.no> writes:
I believe a new dir functions is needed, or a change in the behviour of the current version.
This is ‘python-ideas’. What is your idea for the desired behaviour?
What about using a list comprehension or generator expression to get what you want? Or a good ol' `filter`:
filter(methodcaller('startswith', 'i'), dir(sp.fft))