diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-22 23:05:23 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-22 23:05:23 (GMT) |
commit | 1dd46a048f4afd9a3bc1e3c9c1603d26f2e33e27 (patch) | |
tree | 4b258391e4693a7fa9db93c30b10414d6480112a /Mac/Modules/te/tesupport.py | |
parent | a817e5894b20d68263056bf9af8f1582954b1d8f (diff) | |
download | cpython-1dd46a048f4afd9a3bc1e3c9c1603d26f2e33e27.zip cpython-1dd46a048f4afd9a3bc1e3c9c1603d26f2e33e27.tar.gz cpython-1dd46a048f4afd9a3bc1e3c9c1603d26f2e33e27.tar.bz2 |
Convert raise statements in Mac/.
Diffstat (limited to 'Mac/Modules/te/tesupport.py')
-rw-r--r-- | Mac/Modules/te/tesupport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/te/tesupport.py b/Mac/Modules/te/tesupport.py index 412d5e7..96c9604 100644 --- a/Mac/Modules/te/tesupport.py +++ b/Mac/Modules/te/tesupport.py @@ -82,7 +82,7 @@ class TEMethodGenerator(OSErrWeakLinkMethodGenerator): args, a0 = args[:-1], args[-1] t0, n0, m0 = a0 if m0 != InMode: - raise ValueError, "method's 'self' must be 'InMode'" + raise ValueError("method's 'self' must be 'InMode'") self.itself = Variable(t0, "_self->ob_itself", SelfMode) FunctionGenerator.parseArgumentList(self, args) self.argumentList.append(self.itself) |