7 Sep
2000
7 Sep
'00
5:19 a.m.
Andrew Kuchling writes:
On Thu, Sep 07, 2000 at 06:06:16PM +0200, Thomas Heller wrote:
- A small bug: raise DistutilsPlatformError ("...") instead of raise DistutilsPlatformError, ("...")
Are you sure that is in fact a bug? If DistutilsPlatformError is a class-based exception, the first form is quite legal.
This is a style issue. The first form is normally recommended for exceptions that are always classes. But the spaces between the name of something callable and the opening parenthesis of the parameter list should go -- that's in Guido's style "essay". -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member