Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _multiline_settings(len_limit, multiline):
if not multiline:
len_limit = 0
lexer.set_single_line()
else:
lexer.set_multiline()
return len_limit