The BaseObject

class BaseObject

Parent of almost all other classes in the package. Defines a common “dump” method for debugging.

BaseObject.dump(f=None, header=None, footer=None, indent=0)
Parameters:
  • f (filelike) – open file object, to which the dump is written
  • header (str) – text to write before the dump
  • footer (str) – text to write after the dump
  • indent (int) – number of leading spaces (for recursive calls)

Previous topic

Module Contents

Next topic

The Book Object

This Page