parameters: (self)
return_statement: return {
        'executable': 'mh_execute',
        'static_library': 'staticlib',
        'shared_library': 'mh_dylib',
        'loadable_module': 'mh_bundle',
      }[self.spec['type']]
docstring: Returns the MACH_O_TYPE of this target.
docstring_summary: Returns the MACH_O_TYPE of this target.
docstring_tokens: Returns the MACH_O_TYPE of this target .
function: def GetMachOType(self):
      """Returns the MACH_O_TYPE of this target."""
      # Weird, but matches Xcode.
      if not self._IsBundle() and self.spec['type'] == 'executable':
        return ''
      return {
        'executable': 'mh_execute',
        'static_library': 'staticlib',
        'shared_library': 'mh_dylib',
        'loadable_module': 'mh_bundle',
      }[self.spec['type']]
function_tokens: def GetMachOType ( self ) : # Weird, but matches Xcode. if not self . _IsBundle ( ) and self . spec [ 'type' ] == 'executable' : return '' return { 'executable' : 'mh_execute' , 'static_library' : 'staticlib' , 'shared_library' : 'mh_dylib' , 'loadable_module' : 'mh_bundle' , } [ self . spec [ 'type' ] ]