Yet another mini fix to pack/grid info.

This commit is contained in:
Guido van Rossum 1996-05-16 17:50:07 +00:00
parent 6878436366
commit a5f875f504
2 changed files with 4 additions and 4 deletions

View File

@ -668,7 +668,7 @@ def info(self):
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict
@ -745,7 +745,7 @@ def info(self):
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict

View File

@ -668,7 +668,7 @@ def info(self):
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict
@ -745,7 +745,7 @@ def info(self):
for i in range(0, len(words), 2):
key = words[i][1:]
value = words[i+1]
if value[0] == '.':
if value[:1] == '.':
value = self._nametowidget(value)
dict[key] = value
return dict