Is this a legal / acceptable statement ?

Philippe Martin pmartin at snakecard.com
Fri May 5 12:09:50 EDT 2006


Fredrik Lundh wrote:

> Philippe Martin wrote:
> 
>> l_init really is a boolean parameter and l_value a value that _might_
>> exist in a shelve.
>>
>> So I just want to have a parameter to a method so if the first value
>> tested is false (l_init) then the second (l_value) does not get tested
>> ... because it is the second in the statement and only seems to get
>> evaluated if the
> 
> how do you look things up in the shelve ?
> 
> </F>


l_value = m_data['MY_KEY']

Philippe






More information about the Python-list mailing list