[Patches] [ python-Patches-751107 ] Wrong constant in tkFont module

SourceForge.net noreply@sourceforge.net
Sat, 14 Jun 2003 14:40:26 -0700


Patches item #751107, was opened at 2003-06-09 02:57
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=751107&group_id=5470

Category: Tkinter
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Pedro Werneck (pedrowerneck)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong constant in tkFont module

Initial Comment:
Both constant and docstring on the tkFont module have
wrong value for non-italic font, "normal", instead of
"roman"... using the NORMAL constant as documented
raises a "TclError: bad -slant value "normal": must be
roman, or italic".

This patch correct both constant and docstring.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-06-14 23:40

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as tkFont.py 1.5.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=751107&group_id=5470