code: def to_modify(self, uid):
          '''
          Try to edit the link.
          '''
          if self.userinfo.role[1] >= '3':
              pass
          else:
              return False
  
          self.render('misc/link/link_edit.html',
                      kwd={},
                      postinfo=MLink.get_by_uid(uid),
                      userinfo=self.userinfof to_modify(self, uid):
          '''
          Try to edit the link.
          '''
          if self.userinfo.role[1] >= '3':
              pass
          else:
              return False
  
          self.render('misc/link/link_edit.html',
                      kwd={},
                      postinfo=MLink.get_by_uid(uid),
                      userinfo=self.userinfo)
docs: Try to edit the link.