def _getDeprecationDocstring(version, replacement=None):
 doc = ('Deprecated in %s' % (getVersionString(version),))
 if replacement:
  doc = ('%s; %s' % (doc, _getReplacementString(replacement)))
 return (doc + '.')

def _getDeprecationDocstring ( version , replacement = None ) : doc = ( 'Deprecated in %s' % ( getVersionString ( version ) , ) ) if replacement : doc = ( '%s; %s' % ( doc , _getReplacementString ( replacement ) ) ) return ( doc + '.' )
generate an addition to a deprecated objects docstring that explains its deprecation .