def __init__(self, name, docstrings, metadata):
        '''
        Builds an empty PythonModule
        '''
        self.name = name
        self.preamble = []
        self.includes = []
        self.functions = {}
        self.global_vars = []
        self.implems = []
        self.capsules = []
        self.python_implems = []
        self.wrappers = []
        self.docstrings = docstrings

        self.metadata = metadata
        moduledoc = self.docstring(self.docstrings.get(None, ""))
        self.metadata['moduledoc'] = moduledoc
def __init__ ( self , name , docstrings , metadata ) : self . name = name self . preamble = [ ] self . includes = [ ] self . functions = { } self . global_vars = [ ] self . implems = [ ] self . capsules = [ ] self . python_implems = [ ] self . wrappers = [ ] self . docstrings = docstrings self . metadata = metadata moduledoc = self . docstring ( self . docstrings . get ( None , "" ) ) self . metadata [ 'moduledoc' ] = moduledoc
Builds an empty PythonModule