diff options
Diffstat (limited to 'Doc/library/signal.rst')
-rw-r--r-- | Doc/library/signal.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index 54cce53..94f305c 100644 --- a/Doc/library/signal.rst +++ b/Doc/library/signal.rst @@ -144,7 +144,7 @@ be sent, and the handler raises an exception. :: def handler(signum, frame): print 'Signal handler called with signal', signum - raise IOError, "Couldn't open device!" + raise IOError("Couldn't open device!") # Set the signal handler and a 5-second alarm signal.signal(signal.SIGALRM, handler) |