summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-10 04:20:37 (GMT)
committerGitHub <noreply@github.com>2022-05-10 04:20:37 (GMT)
commitb7a87861de6a166149aa771a0672816099558ace (patch)
treedba7bc0e490d6c54dffeb8105696b424a51192d6 /Lib
parent1fb25a96aeceae4b8615a7ab550bf7538353e5c5 (diff)
downloadcpython-b7a87861de6a166149aa771a0672816099558ace.zip
cpython-b7a87861de6a166149aa771a0672816099558ace.tar.gz
cpython-b7a87861de6a166149aa771a0672816099558ace.tar.bz2
bpo-13553: Document tkinter.Tk args (GH-4786)
(cherry picked from commit c56e2bb9949c95ec8911cd5554b07044a564796f) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/tkinter/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 9049ca3..7e4f444 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -2070,7 +2070,7 @@ class Wm:
the bitmap if None is given.
Under Windows, the DEFAULT parameter can be used to set the icon
- for the widget and any descendents that don't have an icon set
+ for the widget and any descendants that don't have an icon set
explicitly. DEFAULT can be the relative path to a .ico file
(example: root.iconbitmap(default='myicon.ico') ). See Tk
documentation for more information."""
@@ -2316,9 +2316,9 @@ class Tk(Misc, Wm):
_default_root = None
def readprofile(self, baseName, className):
- """Internal function. It reads BASENAME.tcl and CLASSNAME.tcl into
- the Tcl Interpreter and calls exec on the contents of BASENAME.py and
- CLASSNAME.py if such a file exists in the home directory."""
+ """Internal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into
+ the Tcl Interpreter and calls exec on the contents of .BASENAME.py and
+ .CLASSNAME.py if such a file exists in the home directory."""
import os
if 'HOME' in os.environ: home = os.environ['HOME']
else: home = os.curdir