code: def _format_extname(self, ext):
          
          if ext is None:
              outs = ext
          else:
              outs = '{0},{1}'.format(ext[0], ext[1])
          return outs
docs: Pretty print given extension name and number tuple.