40c40
< raise AttributeError, "module is an illegal attribute"
---
> raise AttributeError("module is an illegal attribute")
45c45
< raise AttributeError, "module is an illegal attribute"
---
> raise AttributeError("module is an illegal attribute")
50,51c50
< raise AttributeError, \
< 'The output file must end with .py'
---
> raise AttributeError('The output file must end with .py')
93,94c92,93
< raise AttributeError, \
< "'%s' object has no attribute '%s'" % (type(self), attr)
---
> raise AttributeError(
> "'%s' object has no attribute '%s'" % (type(self), attr))
98,99c97,98
< raise AttributeError, \
< "argument must be a string, was '%s'" % type(f)
---
> raise AttributeError(
> "argument must be a string, was '%s'" % type(f))
123,124c122,123
< raise AttributeError, \
< "argument must be either a string or file, was '%s'" % type(f)
---
> raise AttributeError(
> "argument must be either a string or file, was '%s'" % type(f))