[ create a new paste ] login | about

Link: http://codepad.org/e27gbSDO    [ raw code | fork ]

Python, pasted on Jan 28:
1
2
3
4
5
6
7
8
9
from circuits import BaseComponent


class InheritedComponent(BaseComponent):

    def register(self, parent):
        super(InheritedComponent, self).register(parent)

        self.channel = parent.channel


Create a new paste based on this one


Comments: