pretty_print: don't display private attributes