diff options
Diffstat (limited to 'Lib/filecmp.py')
-rw-r--r-- | Lib/filecmp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/filecmp.py b/Lib/filecmp.py index ac016134791..1f599ce3920 100644 --- a/Lib/filecmp.py +++ b/Lib/filecmp.py @@ -235,7 +235,7 @@ class dircmp: def __getattr__(self, attr): if attr not in self.methodmap: - raise AttributeError, attr + raise AttributeError(attr) self.methodmap[attr](self) return getattr(self, attr) |