Mercurial > cpython-lru_cache-weakref
diff Lib/tkinter/__init__.py @ 80928:fdf907708f49 3.2
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
| author | Andrew Svetlov <andrew.svetlov@gmail.com> |
|---|---|
| date | Tue, 18 Dec 2012 21:14:22 +0200 |
| parents | fed68e0bce53 |
| children | 956cfe53a99f 15a391919deb |
line wrap: on
line diff
--- a/Lib/tkinter/__init__.py Tue Dec 18 15:48:10 2012 +0200 +++ b/Lib/tkinter/__init__.py Tue Dec 18 21:14:22 2012 +0200 @@ -147,7 +147,7 @@ pass def _exit(code=0): - """Internal function. Calling it will throw the exception SystemExit.""" + """Internal function. Calling it will raise the exception SystemExit.""" try: code = int(code) except ValueError:
