docstr: The output format used for rendering (``'pdf'``, ``'png'``, ...).
docstr_tok: ["The","output","format","used","for","rendering","(","``","'pdf","'","``",",","``","'png","'","``",",","...",")","."]
code: def format(self):
      """The output format used for rendering (``'pdf'``, ``'png'``, ...)."""
      return self._format
  
imports: import codecs
  import io
  import locale
  import logging
  import os
  from ._compat import text_type
  from .None import backend
  from .None import tools
label_desc: Use image node_id 3 for calling the Base obj's underlying member method code with example usage: obj.format() and returns: self