def __init__( self, user_interface ):
     PepFunction.__init__( self )
     self.user_interface = user_interface
     self.arg_types_and_names = ( ( PepType( PepUserClass ), "class" ), )
示例#2
0
 def __init__( self, user_class ):
     PepFunction.__init__( self )
     self.user_class = user_class
示例#3
0
 def __init__( self, quote ):
     PepFunction.__init__( self )
     self.quote = quote
 def __init__( self, clazz ):
     PepFunction.__init__( self )
     self.clazz = clazz
示例#5
0
    def __init__( self, instance, fn ):
        # TODO: type_is_one_of( (PepVariable, PepKnownInstance), instance )

        PepFunction.__init__( self )
        self.instance = instance
        self.fn = fn