We try to have as much as possible all the example of the documentation to produce an output that illustrates the point of the example. In addition, they need to be doc-tested. Here, I believe that, as 'produceobject' is not defined, the doctest wouldn't run.

Finally, as small nitpick with regards to variable names: we prefer to separate words with underscores in the variable names: produce_object, big_object, other_arg.