c# - What is a partial class? -
what , how can used in c#.
can use same concept in python/perl?
the c# partial class has been explained here i'll cover python part. can use multiple inheritance elegantly distribute definition of class.
class a_part1: def m1(self): print "m1" class a_part2: def m2(self): print "m2" class a(a_part1, a_part2): pass = a() a.m1() a.m2()
Comments
Post a Comment