peng3d/world.py
def getView(self,name):
        """
        Returns the view with name ``name``\ .
        
        Raises a :py:exc:`ValueError` if the view does not exist.
        """
        if name not in self.views:
            raise ValueError("Unknown world view")
        return self.views[name]
def getView(self,name):
        """
        Returns the view with name ``name``\ .
        
        Raises a :py:exc:`ValueError` if the view does not exist.
        """
        if name not in self.views:
            raise ValueError("Unknown world view")
        return self.views[name]
def getView ( self , name ) : if name not in self . views : raise ValueError ( "Unknown world view" ) return self . views [ name ]
Returns the view with name ``name``\ .
        
        Raises a :py:exc:`ValueError` if the view does not exist.
Returns the view with name name \ . Raises a : py : exc : ValueError if the view does not exist .