code: def generated_target_ps(is_suffix, type, prop_set):
      
      if __debug__:
          from .property_set import PropertySet
          assert isinstance(is_suffix, (int, bool))
          assert isinstance(type, basestring)
          assert isinstance(prop_set, PropertySet)
      key = (is_suffix, type, prop_set)
      v = __target_suffixes_cache.get(key, None)
  
      if not v:
          v = generated_target_ps_real(is_suffix, type, prop_set.raw())
          __target_suffixes_cache [key] = v
  
      return v
docs: Returns suffix that should be used when generating target of 'type',
          with the specified properties. If not suffix were specified for
          'type', returns suffix for base type, if any.