@require_POST
@login_required
@permitted
def undo_vote_for_comment(request, course_id, comment_id):
 return _vote_or_unvote(request, course_id, cc.Comment.find(comment_id), undo_vote=True)

@ require_POST @ login_required @ permitted def undo_vote_for_comment ( request , course_id , comment_id ) : return _vote_or_unvote ( request , course_id , cc . Comment . find ( comment_id ) , undo_vote = True )
given a course id and comment id .