def _get_comment_and_context(request, comment_id):
 try:
  cc_comment = Comment(id=comment_id).retrieve()
  (_, context) = _get_thread_and_context(request, cc_comment['thread_id'])
  return (cc_comment, context)
 except CommentClientRequestError:
  raise CommentNotFoundError('Comment not found.')

def _get_comment_and_context ( request , comment_id ) : try : cc_comment = Comment ( id = comment_id ) . retrieve ( ) ( _ , context ) = _get_thread_and_context ( request , cc_comment [ 'thread_id' ] ) return ( cc_comment , context ) except CommentClientRequestError : raise CommentNotFoundError ( 'Comment not found.' )
retrieve the given comment and build a serializer context for it .