code: def path_safe_spec(self):
      
      return ('{safe_spec_path}.{target_name}'
              .format(safe_spec_path=self._spec_path.replace(os.sep, '.'),
                      target_name=self._target_name.replace(os.sep, '.')))
docs: :API: public