[issue34154] Tkinter __init__ documentations sometimes missing valid keyword values

Creation Elemental report at bugs.python.org
Wed Jul 18 23:08:30 EDT 2018


New submission from Creation Elemental <arceusthe at gmail.com>:

Priority: Low
Type: Documentation issue

Some of the Tkinter documentation is incomplete. I've only checked it on the Listbox so far, but some of the valid keyword arguments are missing. The one I noticed was "disabledforeground" which changes how the foreground color of text when the Listbox is in the disabled state or has a selection mode of none. I've noticed this across multiple versions of python, including Python 2.7 and Python 3.6, both of which accepted "disabledforeground" as a valid keyword without it being in the list shown in the help for Listbox.__init__

I found the disabledforeground keyword argument when looking at the Listbox documentation here: https://www.tcl.tk/man/tcl8.4/TkCmd/listbox.htm

----------
components: Tkinter
messages: 321921
nosy: Creation Elemental
priority: normal
severity: normal
status: open
title: Tkinter __init__ documentations sometimes missing valid keyword values
versions: Python 2.7, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34154>
_______________________________________


More information about the Python-bugs-list mailing list