#NEWLINE# def is_at_punctuation( view , pt ) : #NEWLINE# #INDENT# next_char = view . substr ( pt ) #NEWLINE# return ( ( not ( is_at_word ( view , pt ) or next_char . isspace ( ) or ( pt == '\n' ) ) ) and next_char . isprintable ( ) )