summaryrefslogtreecommitdiff
path: root/pycco/languages.py
diff options
context:
space:
mode:
Diffstat (limited to 'pycco/languages.py')
-rw-r--r--pycco/languages.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pycco/languages.py b/pycco/languages.py
index f32b231..cb9edd1 100644
--- a/pycco/languages.py
+++ b/pycco/languages.py
@@ -14,6 +14,10 @@ DASH_DASH = "--"
TRIPLE_QUOTE = '"""'
def lang(name, comment_symbol, multistart=None, multiend=None):
+ """
+ Generate a language entry dictionary, given a name and comment symbol and
+ optional start/end strings for multiline comments.
+ """
result = {
"name": name,
"comment_symbol": comment_symbol