Should probably also limit the number of levels deep you go, but it sounds nice. Maybe allow the author to pass in a file-like object to write to, but default to sys.stdout?
Should probably also limit the number of levels deep you go, but it sounds nice. Maybe allow the author to pass in a file-like object to write to, but default to sys.stdout?