mirror of https://github.com/python/cpython.git
Yet another mini fix to pack/grid info.
This commit is contained in:
parent
6878436366
commit
a5f875f504
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue