def _getDeprecationWarningString(fqpn, version, format=None, replacement=None):
 if (format is None):
  format = DEPRECATION_WARNING_FORMAT
 warningString = (format % {'fqpn': fqpn, 'version': getVersionString(version)})
 if replacement:
  warningString = ('%s; %s' % (warningString, _getReplacementString(replacement)))
 return warningString

def _getDeprecationWarningString ( fqpn , version , format = None , replacement = None ) : if ( format is None ) : format = DEPRECATION_WARNING_FORMAT warningString = ( format % { 'fqpn' : fqpn , 'version' : getVersionString ( version ) } ) if replacement : warningString = ( '%s; %s' % ( warningString , _getReplacementString ( replacement ) ) ) return warningString
return a string indicating that the python name was deprecated in the given version .