diff --git a/py/apigen/apigen.py b/py/apigen/apigen.py index fb6f0d406..04ffcc52c 100644 --- a/py/apigen/apigen.py +++ b/py/apigen/apigen.py @@ -16,7 +16,8 @@ def get_documentable_items(pkgdir): sys.path.insert(0, str(pkgdir.dirpath())) rootmod = __import__(pkgdir.basename) d = pkg_to_dict(rootmod) - d['execnet.Channel'] = py.__.execnet.channel.Channel + from py.__.execnet.channel import Channel + #d['execnet.Channel'] = Channel # XXX doesn't work return 'py', d def build(pkgdir, dsa, capture):