diff martini/odict.py @ 12:4faed08eb8d8

py35
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 14:34:18 -0800
parents 81aed4352851
children
line wrap: on
line diff
--- a/martini/odict.py	Tue Aug 23 18:17:11 2016 -0700
+++ b/martini/odict.py	Mon Feb 20 14:34:18 2017 -0800
@@ -611,7 +611,7 @@
         TypeError: pop expected at most 2 arguments, got 3
         """
         if len(args) > 1:
-            raise TypeError, ('pop expected at most 2 arguments, got %s' %
+            raise TypeError('pop expected at most 2 arguments, got %s' %
                 (len(args) + 1))
         if key in self:
             val = self[key]