[Python-checkins] r62839 - sandbox/trunk/ttk-gsoc/Lib/lib-tk/Ttk.py

guilherme.polo python-checkins at python.org
Wed May 7 23:52:03 CEST 2008


Author: guilherme.polo
Date: Wed May  7 23:52:02 2008
New Revision: 62839

Log:
Made _format_layoutdict's example inside its docstring more readable (I hope).

Modified:
   sandbox/trunk/ttk-gsoc/Lib/lib-tk/Ttk.py

Modified: sandbox/trunk/ttk-gsoc/Lib/lib-tk/Ttk.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/Lib/lib-tk/Ttk.py	(original)
+++ sandbox/trunk/ttk-gsoc/Lib/lib-tk/Ttk.py	Wed May  7 23:52:02 2008
@@ -105,13 +105,13 @@
     
     E.g.:
       {"Menubutton.background": None,
-       "Menubutton.button": {"children": [("Menubutton.focus", 
-                                {"children": [("Menubutton.padding", 
-                                    {"children": [("Menubutton.label", 
-                                        {"side": "left", "expand": 1})]
-                                    })
-                                ]})
-                            ]},
+       "Menubutton.button": {"children": 
+           [("Menubutton.focus", {"children": 
+               [("Menubutton.padding", {"children": 
+                 [("Menubutton.label", {"side": "left", "expand": 1})]
+               })]
+           })]
+       },
        "Menubutton.indicator": {"side": "right"}
       }) 
 


More information about the Python-checkins mailing list