This code creates real mixed-in classes: it actually merges one class into another (c-python specific), taking care of name-mangling, some complications with __slots__, and evenother (c-python specific), taking care of name-mangling, some complications with __slots__, and everything else.

As a side-effect, you can also use it to mix modules into classes. It is similar to ruby’s include statement.


Download from: Homepage




Author:
admin
Time:
Monday, June 23rd, 2008 at 3:43 am
Category:
Server Management
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply