Steven D'Aprano wrote: > On Fri, 8 Jul 2016 05:38 pm, Peter Otten wrote: > > [...] >>> Is this a thing that can be fixed with a commensurate amount of effort? >> >> There is a test >> >> if not object: >> raise ImportError('no Python documentation found for %r' % thing) >> >> in the pydoc module. So all you need is to ensure that your Registry >> evaluates to True in a boolean context, e. g. by putting something into >> it: > > > Nicely spotted! I had seen the test but hadn't realised the implications. >
As speedy problem resolutions go, before I mentioned it is pretty good. -- Rob Gaddi, Highland Technology -- www.highlandtechnology.com Email address domain is currently out of order. See above to fix. -- https://mail.python.org/mailman/listinfo/python-list