Is there any point in assigning the exception to `err` before raising it? (Same below.)

Also, feel free to break up long lines with one level of indent (rather than indenting along the `(` like PEP8 suggests—too conflicting with the COL80).