On Mon, Dec 17, 2012 at 8:46 AM, Tim Hatch <span dir="ltr"><<a href="mailto:tim@timhatch.com" target="_blank">tim@timhatch.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">It's likely installed with only .pyo or something like that.  python -c</div>
'import twisted.words.protocols.irc as i; print i.__file__' to confirm<br></blockquote><div><br></div><div>Nope.. I've looked at the  source file directly, and it's there and has the docstrings... you can even print them manually:</div>
<div><br></div><div><div>Python 2.6.8 (unknown, Nov  7 2012, 14:47:45) </div><div>[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2</div><div>Type "help", "copyright", "credits" or "license" for more information.</div>
<div>>>> from twisted.words.protocols import irc</div><div>>>> print irc.IRCClient.__doc__</div><div><br></div><div>    Internet Relay Chat client protocol, with sprinkles.</div><div><br></div><div>    In addition to providing an interface for an IRC client protocol,</div>
<div>    this class also contains reasonable implementations of many common</div><div>    CTCP methods.</div><div><br></div><div>    TODO</div><div>[....]</div><div>    </div><div>>>>  help(irc.IRCClient)</div><div>
Help on class IRCClient in module twisted.words.protocols.irc:</div><div><br></div><div>IRCClient = <class twisted.words.protocols.irc.IRCClient></div><div><br></div></div><div>>>> irc.__file__</div><div>'/usr/lib/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/words/protocols/irc.pyc'</div>
<div><br></div><div>I think this is a bug in pydoc/help rather than in twisted.</div></div><br>