Created
December 12, 2011 18:20
-
-
Save jstitch/1468431 to your computer and use it in GitHub Desktop.
Python superclass constructor calling, with arguments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A: | |
def __init__(self, parama): | |
self.parama = parama | |
class B(A): | |
def __init__(self, parama): | |
A.__init__(self,parama) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment