mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Give in to the tab police.
This commit is contained in:
parent
6f73c1a2ac
commit
c457048744
6 changed files with 286 additions and 276 deletions
|
@ -25,7 +25,7 @@ class Dialog:
|
|||
if TkVersion < 4.2:
|
||||
raise TclError, "this module requires Tk 4.2 or newer"
|
||||
|
||||
self.master = master
|
||||
self.master = master
|
||||
self.options = options
|
||||
|
||||
def _fixoptions(self):
|
||||
|
@ -37,8 +37,8 @@ class Dialog:
|
|||
def show(self, **options):
|
||||
|
||||
# update instance options
|
||||
for k, v in options.items():
|
||||
self.options[k] = v
|
||||
for k, v in options.items():
|
||||
self.options[k] = v
|
||||
|
||||
self._fixoptions()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue