In C# you have the ability to split code across several files, that way in the case of code containing generated code, you can quickly find the custom code and functionality.
I was just wondering if Python had an equivalent solution.
Or some code hack that would enable it.
edit So i looked at the other supposed answer and saw something very inelegant.
To answer the questions of the juniors, the purpose of partial classes is to allow code generated by a tool to exist in the same class as custom code the programmer uses to extend it. In VS, you can even use intellisense for autocomplete, and the major reason for this is lack of interference as the one gentleman said, but also really, because some class files get very very large. it's actually a pretty nice feature since the code files don't have to have the same basename I believe if you don't want it just looks for the partial class decorator.
Anyway I saw something ugly in the page stackoverflow suggested, I'd like a more elegant way.
=operator or a plainimportstatement - but that would loose the support to callingsuper()- as that depends on the method being written inside the class body. It is possible to work around it, but multiple inheritance is the way to go.