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/list | |
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/list')
-rw-r--r-- | Mac/Modules/list/listsupport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/list/listsupport.py b/Mac/Modules/list/listsupport.py index 2e1144a..1c12206 100644 --- a/Mac/Modules/list/listsupport.py +++ b/Mac/Modules/list/listsupport.py @@ -70,7 +70,7 @@ class ListMethodGenerator(MethodGenerator): 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) |