summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-20 13:10:04 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-20 13:10:04 (GMT)
commite98209c2b446205547e2298b7e6300098cfa578e (patch)
treea79fc004850e681d3a31b0175ad3568ef1a45f08 /Lib/tkinter
parentba9ac5b5c42a9bba54942211a3b00a1c3ce7bb23 (diff)
downloadcpython-e98209c2b446205547e2298b7e6300098cfa578e.zip
cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.gz
cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.bz2
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/font.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/tkinter/font.py b/Lib/tkinter/font.py
index a04fedf..e74049c 100644
--- a/Lib/tkinter/font.py
+++ b/Lib/tkinter/font.py
@@ -112,8 +112,6 @@ class Font:
try:
if self.delete_font:
self._call("font", "delete", self.name)
- except (KeyboardInterrupt, SystemExit):
- raise
except Exception:
pass