Partial classes

brianmce at gmail.com brianmce at gmail.com
Wed Jul 19 08:26:02 EDT 2006


Kay Schluehr wrote:

> This definition lacks a check for disjointness of the parts. No two
> partial classes shall contain a method with the same name.

Yes - I mentioned at the bottom that the last one evaluated will
overwrite any existing one.  You're right that its probably a better
idea to check for it and throw an exception.




More information about the Python-list mailing list