[Patches] [ python-Patches-1094815 ] self.button.pack() in
tkinter.tex example
SourceForge.net
noreply at sourceforge.net
Wed Jan 19 04:27:37 CET 2005
Patches item #1094815, was opened at 2005-01-03 02:17
Message generated for change (Comment added) made by fdrake
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094815&group_id=5470
Category: Documentation
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: [N/A] (ymasuda)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: self.button.pack() in tkinter.tex example
Initial Comment:
In section "Coupling Widget Variables", there is a
meaningless line::
self.entrythingy.pack()
self.button.pack() # <-- THIS ONE
# here is the application variable
self.contents = StringVar()
This breaks execution of the sample::
Traceback (most recent call last):
File "<stdin>", line 29, in ?
File "<stdin>", line 11, in __init__
AttributeError: App instance has no attribute 'button'
attached patch is for deletion of that line.
# This was originally reported by Mr. Suzumizaki, to
Python documentation translating project in Japan.
Thanks.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2005-01-18 22:27
Message:
Logged In: YES
user_id=3066
Fixed in Doc/lib/tkinter.tex revisions 1.29, 1.27.2.2, 1.22.4.1.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094815&group_id=5470
More information about the Patches
mailing list