[New-bugs-announce] [issue15133] tkinter.BooleanVar.get() docstring is wrong

Mark Summerfield report at bugs.python.org
Fri Jun 22 11:27:46 CEST 2012


New submission from Mark Summerfield <mark at qtrac.eu>:

Python 3.2.2 (default, Jun  4 2012, 11:15:16) 
[GCC 4.4.5] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> from tkinter import *
>>> help(BooleanVar.get)
Help on function get in module tkinter:

get(self)
    Return the value of the variable as a bool.

On my system it actually returns an int. (I wish it did return a bool though.)

----------
components: Tkinter
messages: 163387
nosy: mark
priority: normal
severity: normal
status: open
title: tkinter.BooleanVar.get() docstring is wrong
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15133>
_______________________________________


More information about the New-bugs-announce mailing list