Print the parse tree and then call render for an example.

def dump(self, **kwargs):
        import sys
        '''Print the parse tree and then call render for an example.'''
        if not self.seq:
            self.seq = self.getSequence()
        print("StringGenerator version: %s" % (__version__))
        print("Python version: %s" % sys.version)
        # this doesn't work anymore in p3
        # print("Random method provider class: %s" % randint.im_class.__name__)
        self.seq.dump()
        return self.render(**kwargs)