[Python-checkins] r64614 - sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_new.py

guilherme.polo python-checkins at python.org
Tue Jul 1 16:41:03 CEST 2008


Author: guilherme.polo
Date: Tue Jul  1 16:41:03 2008
New Revision: 64614

Log:
page_names may remain as None if they aren't specified, fixed

Modified:
   sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_new.py

Modified: sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_new.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_new.py	(original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/tabbedpages_new.py	Tue Jul  1 16:41:03 2008
@@ -34,6 +34,7 @@
         Notebook.__init__(self, master, **kw)
 
         self.pages = {}
+        page_names = page_names or ()
         for name in page_names:
             self.add_page(name)
 


More information about the Python-checkins mailing list