@@ -1058,11 +1058,11 @@ Base and mixin classes
10581058 :class: `int `.
10591059 Raise :exc: `ValueError ` if *s * is not a valid integer.
10601060
1061- .. method :: getvar(name='PY_VAR' )
1061+ .. method :: getvar(name)
10621062
10631063 Return the value of the Tcl global variable named *name *.
10641064
1065- .. method :: setvar(name='PY_VAR' , value='1' )
1065+ .. method :: setvar(name, value)
10661066
10671067 Set the Tcl global variable named *name * to *value *.
10681068
@@ -1494,10 +1494,10 @@ Base and mixin classes
14941494 This updates the display of windows, for example after geometry changes,
14951495 but does not process events caused by the user.
14961496
1497- .. method :: waitvar(name='PY_VAR' )
1497+ .. method :: waitvar(name)
14981498 :no-typesetting:
14991499
1500- .. method :: wait_variable(name='PY_VAR' )
1500+ .. method :: wait_variable(name)
15011501
15021502 Wait until the Tcl variable *name * is modified, continuing to process
15031503 events in the meantime so that the application stays responsive.
@@ -2591,7 +2591,8 @@ Base and mixin classes
25912591 Make *widget * a stand-alone top-level window, decorated by the window
25922592 manager with a title bar and so on.
25932593 Only :class: `Frame `, :class: `LabelFrame ` and :class: `Toplevel ` widgets
2594- may be used; passing any other widget type raises an error.
2594+ may be used (the :mod: `tkinter.ttk ` versions are **not ** accepted);
2595+ passing any other widget type raises an error.
25952596 :meth: `wm_manage ` is an alias of :meth: `!manage `.
25962597
25972598 .. versionadded :: 3.3
@@ -3240,6 +3241,14 @@ Toplevel widgets
32403241 profile files is the :envvar: `HOME ` environment variable or, if that
32413242 isn't defined, then :data: `os.curdir `.
32423243
3244+ .. note ::
3245+
3246+ On Windows, creating a Tcl interpreter (by instantiating :class: `Tk ` or
3247+ calling :func: `Tcl `) sets the :envvar: `HOME ` environment variable for
3248+ the process, if it is not already set, to ``%HOMEDRIVE%%HOMEPATH% `` (or
3249+ :envvar: `USERPROFILE `, or ``c:\ ``). This is done by Tcl and can affect
3250+ other code that reads :envvar: `HOME `.
3251+
32433252 .. attribute :: tk
32443253
32453254 The Tk application object created by instantiating :class: `Tk `. This
0 commit comments