Removed pydoclink (whose idea was it to add that useless command anyways?) /me

hides
This commit is contained in:
James Vega 2003-12-01 18:15:53 +00:00
parent b6dd266549
commit 23d81ec0cd

View File

@ -166,15 +166,6 @@ class Python(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable):
else: else:
irc.error(msg, 'No function or module %s exists.' % name) irc.error(msg, 'No function or module %s exists.' % name)
def pydoclink(self, irc, msg, args):
"""<python module>
Returns a link to the current documentation for <python module>
"""
module = privmsgs.getArgs(args)
url = 'http://python.org/doc/current/lib/module-%s.html' % module
irc.reply(msg, '%s' % url)
_these = [str(s) for s in this.s.decode('rot13').splitlines() if s] _these = [str(s) for s in this.s.decode('rot13').splitlines() if s]
_these.pop(0) # Initial line (The Zen of Python...) _these.pop(0) # Initial line (The Zen of Python...)
def zen(self, irc, msg, args): def zen(self, irc, msg, args):