Fix problem with 'print (A) thing' inserting an unwanted newline.