summaryrefslogtreecommitdiffstats
path: root/Doc/info
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-06 16:51:41 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-06 16:51:41 (GMT)
commit6b04ffe9e59dc8df46f2d68646ed82cbbef0714c (patch)
treea94603073ca8aa569bd9d028ef090c013018d715 /Doc/info
parent22d35a7337d608d5eddb3b1934c96852f53a0f11 (diff)
downloadcpython-6b04ffe9e59dc8df46f2d68646ed82cbbef0714c.zip
cpython-6b04ffe9e59dc8df46f2d68646ed82cbbef0714c.tar.gz
cpython-6b04ffe9e59dc8df46f2d68646ed82cbbef0714c.tar.bz2
Be more careful about accessing attributes of the parent: if Tk has not been
initialized, this will be None, but the functions will still work (there will simply be a bogus parent on the screen). Allowing the parent to be None is useful when testing the functions from an interactive interpreter. Add an optional keyword paramter "show" to the _QueryString class; when given it is used to set the -show option to the entry widget. This allows passing show="*" or the like to askstring(), making it useful for requesting passwords/passphrases from the user. This closes SF bug #438517. Changed a docstring to be less font-lock-hostile.
Diffstat (limited to 'Doc/info')
0 files changed, 0 insertions, 0 deletions