parameters: (self, contact, verb, docType, doc=None)
docstring: Creates an activity that describes a contact profile modification.
docstring_summary: Creates an activity that describes a contact profile modification.
docstring_tokens: Creates an activity that describes a contact profile modification .
function: def create_modify_activity(self, contact, verb, docType, doc=None):
          '''
          Creates an activity that describes a contact profile modification.
          '''
  
          if doc:
              docId = doc._id
          else:
              docId = "none"
  
          activity = Activity(
               authorKey=contact.key,
               author=contact.name,
               verb=verb,
               docType=docType,
               method="PUT",
               docId=docId,
               isMine=False
          )
          activity.save()
function_tokens: def create_modify_activity ( self , contact , verb , docType , doc = None ) : if doc : docId = doc . _id else : docId = "none" activity = Activity ( authorKey = contact . key , author = contact . name , verb = verb , docType = docType , method = "PUT" , docId = docId , isMine = False ) activity . save ( )