summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2022-05-10 03:49:00 (GMT)
committerGitHub <noreply@github.com>2022-05-10 03:49:00 (GMT)
commitc56e2bb9949c95ec8911cd5554b07044a564796f (patch)
treee00bc035ac639eab0242db76bd891bf1cfe33772 /Lib/tkinter
parent5be069568ddbce1d50f785426e6b6c2b82957f70 (diff)
downloadcpython-c56e2bb9949c95ec8911cd5554b07044a564796f.zip
cpython-c56e2bb9949c95ec8911cd5554b07044a564796f.tar.gz
cpython-c56e2bb9949c95ec8911cd5554b07044a564796f.tar.bz2
bpo-13553: Document tkinter.Tk args (#4786)
Diffstat (limited to 'Lib/tkinter')
-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 3d23889..2963202 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -2126,7 +2126,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."""
@@ -2372,9 +2372,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