[EMAIL PROTECTED] wrote:
> On 27 Sep, 15:03, [EMAIL PROTECTED] wrote:
>> Why are the following different?
>>
>> def AddRow(self, rowName, tableRow=TableRow(ReleaseDate(""),
>> ExpiryDate(""))):
>> # check to see if the row already exists, if not add it to
>> the
>> container
>>
>>
On 27 Sep, 15:34, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Why are the following different?
>
> > def AddRow(self, rowName, tableRow=TableRow(ReleaseDate(""),
> > ExpiryDate(""))):
> > # check to see if the row already exists, if not add it to the
> > container
On 27 Sep, 15:03, [EMAIL PROTECTED] wrote:
> Why are the following different?
>
> def AddRow(self, rowName, tableRow=TableRow(ReleaseDate(""),
> ExpiryDate(""))):
> # check to see if the row already exists, if not add it to the
> container
>
> if not self.dict.has_ke
[EMAIL PROTECTED] wrote:
> Why are the following different?
>
> def AddRow(self, rowName, tableRow=TableRow(ReleaseDate(""),
> ExpiryDate(""))):
> # check to see if the row already exists, if not add it to the
> container
>
> if not self.dict.has_key(rowName):
> self.dict[rowName] = tableRow
>
Why are the following different?
def AddRow(self, rowName, tableRow=TableRow(ReleaseDate(""),
ExpiryDate(""))):
# check to see if the row already exists, if not add it to the
container
if not self.dict.has_key(rowName):
self.dict[rowName] =