def target_release(version):
 if (not is_pre_release(version)):
  raise NotAPreRelease(version)
 parsed_version = parse_version(version)
 return parsed_version.release

def target_release ( version ) : if ( not is_pre_release ( version ) ) : raise NotAPreRelease ( version ) parsed_version = parse_version ( version ) return parsed_version . release
return the target final release for a pre-release .