~ubuntu-branches/ubuntu/karmic/python3.0/karmic

« back to all changes in this revision

Viewing changes to Lib/tkinter/tix.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-16 17:18:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216171823-1d5cm5qnnjvmnzzm
Tags: 3.0.1-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*-mode: python; fill-column: 75; tab-width: 8 -*-
2
2
#
3
 
# $Id: tix.py 63418 2008-05-17 18:39:55Z georg.brandl $
 
3
# $Id: tix.py 68759 2009-01-19 06:33:19Z hirokazu.yamamoto $
4
4
#
5
5
# Tix.py -- Tix widget wrappers.
6
6
#
293
293
        else:
294
294
            static_options = ['options']
295
295
 
296
 
        for k,v in cnf.items()[:]:
 
296
        for k,v in list(cnf.items()):
297
297
            if k in static_options:
298
298
                extra = extra + ('-' + k, v)
299
299
                del cnf[k]
448
448
        # we must be careful not to destroy the frame widget since this
449
449
        # also destroys the parent NoteBook thus leading to an exception
450
450
        # in Tkinter when it finally calls Tcl to destroy the NoteBook
451
 
        for c in self.children.values(): c.destroy()
 
451
        for c in list(self.children.values()): c.destroy()
452
452
        if self._name in self.master.children:
453
453
            del self.master.children[self._name]
454
454
        if self._name in self.master.subwidget_list: