Comment 1 for bug 483411

Revision history for this message
Marius Gedminas (mgedmin) wrote :

It was my intention that the "official" API is a sequence of objects; accepting a single object was a special case, for convenience, when you're playing with things interactively.

I do not think that

   show_graph(obj, single=True)

is nicer than

   show_graph([obj])

Perhaps a docstring update mentioning the latter as an example of handling a single object of arbitrary type would suffice?