Peter Otten said unto the world upon 05/23/2007 01:32 PM:
> Brian van den Broek wrote:
<snip>
>> Help on built-in function apply in module __builtin__:
>>
>> But:
>>
>> >>> [x for x in dir('__builtin__') if 'apply' in x]
>> []
>>
>> ? If apply is in the __builtin__ module, why doesn't
>> dir('__builtin__') know about it?
>
> The string "__builtin__" doesn't have an apply attribute; but the
> __builtin__ module has:
>
>>>> import __builtin__
>>>> "apply" in dir(__builtin__)
> True
>
> Peter
Doh!
Thanks Peter.
--
http://mail.python.org/mailman/listinfo/python-list