[Python-projects] E0101 should be a warning
Michael Foord
fuzzyman at voidspace.org.uk
Wed Nov 22 15:30:50 CET 2006
Barry Scott wrote:
> E0101, Foo.__init__] Explicit return in __init__
>
> Why is this an error? I would have expected this to be a warning as it a
> matter of style
> not correctness.
>
But if it returns anything it is an error.
An early return certainly shouldn't be an error.
Fuzzyman
http://www.voidspace.org.uk/index2.shtml
> Barry
>
> _______________________________________________
> Python-Projects mailing list
> Python-Projects at lists.logilab.org
> http://lists.logilab.org/mailman/listinfo/python-projects
>
>
More information about the Python-Projects
mailing list