mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Convert raise statements in Lib/plat-{mac,os2emx}.
This commit is contained in:
parent
cfe02a498b
commit
e45be28be6
51 changed files with 506 additions and 506 deletions
|
|
@ -79,7 +79,7 @@ class MiniApplication:
|
|||
c = chr(message & charCodeMask)
|
||||
if modifiers & cmdKey:
|
||||
if c == '.':
|
||||
raise KeyboardInterrupt, "Command-period"
|
||||
raise KeyboardInterrupt("Command-period")
|
||||
if c == 'q':
|
||||
if hasattr(MacOS, 'OutputSeen'):
|
||||
MacOS.OutputSeen()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue