summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2011-01-24 20:48:40 (GMT)
committerTerry Reedy <tjreedy@udel.edu>2011-01-24 20:48:40 (GMT)
commit2a6ac15f263c58842c5be9398da9cc78d3516988 (patch)
tree44477637b1591e15793816c12b0254488cc6bb7a /Doc
parent009a6bd675ed8f853d57794eacb660912be5dd49 (diff)
downloadcpython-2a6ac15f263c58842c5be9398da9cc78d3516988.zip
cpython-2a6ac15f263c58842c5be9398da9cc78d3516988.tar.gz
cpython-2a6ac15f263c58842c5be9398da9cc78d3516988.tar.bz2
Update last tix code example for 3.x, as already done for previous examples.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/tkinter.tix.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tkinter.tix.rst b/Doc/library/tkinter.tix.rst
index cc7ffd1..289bffd 100644
--- a/Doc/library/tkinter.tix.rst
+++ b/Doc/library/tkinter.tix.rst
@@ -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())