diff --git a/plugins/Python.py b/plugins/Python.py index cb553884d..dc94ef6e2 100644 --- a/plugins/Python.py +++ b/plugins/Python.py @@ -68,7 +68,18 @@ def configure(onStart, afterConnect, advanced): onStart.append('load Python') example = utils.wrapLines(""" -Add an example IRC session using this module here. + @list Python + jemfinch: pydoc, zen + @zen + jemfinch: Complex is better than complicated. + @zen + jemfinch: Beautiful is better than ugly. + @pydoc list.reverse + jemfinch: L.reverse() -- reverse *IN PLACE* + @pydoc socket.socket + jemfinch: socket([family[, type[, proto]]]) -> socket object. Open a socket of the given type. The family argument specifies the address family; it defaults to AF_INET. The type argument specifies whether this is a stream (SOCK_STREAM, this is the default) or datagram (SOCK_DGRAM) socket. The protocol argument defaults to 0, specifying the default protocol. Keyword arguments (4 more messages) + @pydoc list + jemfinch: list() -> new list list(sequence) -> new list initialized from sequence's items """) class Python(callbacks.Privmsg):