(cls, comment)
return MarkSafe(cls._validator.ValidateAndSanitizeComment(comment))
Remove unsafe constructions from a string and make it safe in templates.

    Make sure a string intended as a comment has only safe constructs in it and
    then make it as safe to expand directly in a template. If it fails the test,
    return an empty string.

    Args:
      comment: (str) A string which is expected to be a documentation comment.

    Returns:
      (str) The comment with HTML-unsafe constructions removed.
Remove unsafe constructions from a string and make it safe in templates.
Remove unsafe constructions from a string and make it safe in templates .
def ValidateAndSanitizeComment(cls, comment):
    """Remove unsafe constructions from a string and make it safe in templates.

    Make sure a string intended as a comment has only safe constructs in it and
    then make it as safe to expand directly in a template. If it fails the test,
    return an empty string.

    Args:
      comment: (str) A string which is expected to be a documentation comment.

    Returns:
      (str) The comment with HTML-unsafe constructions removed.
    """
    return MarkSafe(cls._validator.ValidateAndSanitizeComment(comment))
def ValidateAndSanitizeComment ( cls , comment ) : return MarkSafe ( cls . _validator . ValidateAndSanitizeComment ( comment ) )