parameters: (self, name, project, manager = None)
docstring: manager:     the Manager object
              name:        name of the target
              project:     the project target to which this one belongs
              manager:the manager object. If none, uses project.manager ()
docstring_summary: manager:     the Manager object
              name:        name of the target
              project:     the project target to which this one belongs
              manager:the manager object. If none, uses project.manager ()
docstring_tokens: manager : the Manager object name : name of the target project : the project target to which this one belongs manager : the manager object . If none uses project . manager ()
function: def __init__ (self, name, project, manager = None):
          """ manager:     the Manager object
              name:        name of the target
              project:     the project target to which this one belongs
              manager:the manager object. If none, uses project.manager ()
          """
          assert isinstance(name, basestring)
          assert (isinstance (project, ProjectTarget))
          # Note: it might seem that we don't need either name or project at all.
          # However, there are places where we really need it. One example is error
          # messages which should name problematic targets. Another is setting correct
          # paths for sources and generated files.
  
          # Why allow manager to be specified? Because otherwise project target could not derive
          # from this class.
          if manager:
              self.manager_ = manager
          else:
              self.manager_ = project.manager ()
  
          self.name_ = name
          self.project_ = project
          self.location_ = errors.nearest_user_location()
function_tokens: def __init__ ( self , name , project , manager = None ) : assert isinstance ( name , basestring ) assert ( isinstance ( project , ProjectTarget ) ) # Note: it might seem that we don't need either name or project at all. # However, there are places where we really need it. One example is error # messages which should name problematic targets. Another is setting correct # paths for sources and generated files. # Why allow manager to be specified? Because otherwise project target could not derive # from this class. if manager : self . manager_ = manager else : self . manager_ = project . manager ( ) self . name_ = name self . project_ = project self . location_ = errors . nearest_user_location ( )