parameters: (self, item, indent_amt)
docstring: Split the line only after a delimiter.
docstring_summary: Split the line only after a delimiter.
docstring_tokens: Split the line only after a delimiter .
function: def _split_after_delimiter(self, item, indent_amt):
          """Split the line only after a delimiter."""
          self._delete_whitespace()
  
          if self.fits_on_current_line(item.size):
              return
  
          last_space = None
          for item in reversed(self._lines):
              if (
                  last_space and
                  (not isinstance(item, Atom) or not item.is_colon)
              ):
                  break
              else:
                  last_space = None
              if isinstance(item, self._Space):
                  last_space = item
              if isinstance(item, (self._LineBreak, self._Indent)):
                  return
  
          if not last_space:
              return
  
          self.add_line_break_at(self._lines.index(last_space), indent_amt)
function_tokens: def _split_after_delimiter ( self , item , indent_amt ) : self . _delete_whitespace ( ) if self . fits_on_current_line ( item . size ) : return last_space = None for item in reversed ( self . _lines ) : if ( last_space and ( not isinstance ( item , Atom ) or not item . is_colon ) ) : break else : last_space = None if isinstance ( item , self . _Space ) : last_space = item if isinstance ( item , ( self . _LineBreak , self . _Indent ) ) : return if not last_space : return self . add_line_break_at ( self . _lines . index ( last_space ) , indent_amt )