Add example doc for pformat

Change-Id: Ifeca2a1da697c286ef1f3a3ec5f81d56caf71a2a