CodingStyle: error.py
Matt Mackall
mpm at selenic.com
Sun May 8 15:21:44 CDT 2011
On Sun, 2011-05-08 at 21:47 +0200, Adrian Buehlmann wrote:
> error.py defines exception classes.
>
> These are *not* lowercase (e.g. LookupError).
>
> Should this be mentioned at
>
> http://mercurial.selenic.com/wiki/CodingStyle#Classes
>
> as an exception to the rule?
>
> "Class names should still be lowercase"
>
> ->
>
> "Class names should still be lowercase (but exception classes are
> CamelCased)"
Yep. I thought that was in there already.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list