Replace help_tiny by module docstring

This commit is contained in:
nemunaire 2014-08-28 01:39:31 +02:00
commit cd7843e16e
24 changed files with 47 additions and 77 deletions

View file

@ -1,5 +1,7 @@
# coding=utf-8
"""Translation module"""
import http.client
import re
import socket
@ -30,10 +32,6 @@ def load(context):
add_hook("cmd_hook", Hook(cmd_translate, "translate"))
def help_tiny():
"""Line inserted in the response to the command !help"""
return "Translation module"
def help_full():
return "!translate [lang] <term>[ <term>[...]]: Found translation of <term> from/to english to/from <lang>. Data © WordReference.com"