[Baypiggies] IRC bot framework
patenaude at gmail.com
Mon Dec 17 19:04:08 CET 2012
On Mon, Dec 17, 2012 at 8:46 AM, Tim Hatch <tim at timhatch.com> wrote:
> It's likely installed with only .pyo or something like that. python -c
> 'import twisted.words.protocols.irc as i; print i.__file__' to confirm
Nope.. I've looked at the source file directly, and it's there and has the
docstrings... you can even print them manually:
Python 2.6.8 (unknown, Nov 7 2012, 14:47:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from twisted.words.protocols import irc
>>> print irc.IRCClient.__doc__
Internet Relay Chat client protocol, with sprinkles.
In addition to providing an interface for an IRC client protocol,
this class also contains reasonable implementations of many common
Help on class IRCClient in module twisted.words.protocols.irc:
IRCClient = <class twisted.words.protocols.irc.IRCClient>
I think this is a bug in pydoc/help rather than in twisted.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Baypiggies