summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/calltip.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-06-20 06:18:49 (GMT)
committerGitHub <noreply@github.com>2018-06-20 06:18:49 (GMT)
commit9af1836664d241fec6e62955ffaa559b3a2eaf1b (patch)
tree416fdb09258f87815acfe7fd1dd1ab637a4db3e4 /Lib/idlelib/calltip.py
parentacdc660efc2056d8e28d99eaaf79ab60a263bd15 (diff)
downloadcpython-9af1836664d241fec6e62955ffaa559b3a2eaf1b.zip
cpython-9af1836664d241fec6e62955ffaa559b3a2eaf1b.tar.gz
cpython-9af1836664d241fec6e62955ffaa559b3a2eaf1b.tar.bz2
bpo-33907: Rename an IDLE module and classes. (GH-7810)
Fix-up class name duplication in PR #7807. Combined effect is that module calltips and its class CallTips are now calltip and Calltip. In module calltip_w class CallTip is now CalltipWindow.
Diffstat (limited to 'Lib/idlelib/calltip.py')
-rw-r--r--Lib/idlelib/calltip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/calltip.py b/Lib/idlelib/calltip.py
index 1ff0deb..596d2bc 100644
--- a/Lib/idlelib/calltip.py
+++ b/Lib/idlelib/calltip.py
@@ -31,7 +31,7 @@ class Calltip:
def _make_tk_calltip_window(self):
# See __init__ for usage
- return calltip_w.Calltip(self.text)
+ return calltip_w.CalltipWindow(self.text)
def _remove_calltip_window(self, event=None):
if self.active_calltip:
@@ -44,7 +44,7 @@ class Calltip:
return "break"
def try_open_calltip_event(self, event):
- """Happens when it would be nice to open a Calltip, but not really
+ """Happens when it would be nice to open a calltip, but not really
necessary, for example after an opening bracket, so function calls
won't be made.
"""