From: Terry Reedy Date: Mon, 24 Jan 2011 20:48:40 +0000 (+0000) Subject: Update last tix code example for 3.x, as already done for previous examples. X-Git-Tag: v3.2rc2~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a6ac15f263c58842c5be9398da9cc78d3516988;p=thirdparty%2FPython%2Fcpython.git Update last tix code example for 3.x, as already done for previous examples. --- diff --git a/Doc/library/tkinter.tix.rst b/Doc/library/tkinter.tix.rst index cc7ffd1e07dc..289bffd1ad4a 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())