]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update last tix code example for 3.x, as already done for previous examples.
authorTerry Reedy <tjreedy@udel.edu>
Mon, 24 Jan 2011 20:48:40 +0000 (20:48 +0000)
committerTerry Reedy <tjreedy@udel.edu>
Mon, 24 Jan 2011 20:48:40 +0000 (20:48 +0000)
Doc/library/tkinter.tix.rst

index cc7ffd1e07dc65ec1a36edccf6bae6332002111f..289bffd1ad4a00f5d45b05ec003946e5dfbd8e2f 100644 (file)
@@ -499,8 +499,8 @@ Tix Commands
 
    To view the current settings, the common usage is::
 
-      import Tix
-      root = Tix.Tk()
+      from tkinter import tix
+      root = tix.Tk()
       print(root.tix_configure())