more docstring fixes
This commit is contained in:
+5
-6
@@ -2,9 +2,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
This file is part of the web2py Web Framework
|
||||
Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
|
||||
License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
|
||||
| This file is part of the web2py Web Framework
|
||||
| Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
|
||||
| License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
|
||||
"""
|
||||
|
||||
import re
|
||||
@@ -15,8 +15,7 @@ __all__ = ['highlight']
|
||||
|
||||
class Highlighter(object):
|
||||
|
||||
"""
|
||||
Do syntax highlighting.
|
||||
"""Does syntax highlighting.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
@@ -26,7 +25,7 @@ class Highlighter(object):
|
||||
styles=None,
|
||||
):
|
||||
"""
|
||||
Initialise highlighter:
|
||||
Initialize highlighter:
|
||||
mode = language (PYTHON, WEB2PY,C, CPP, HTML, HTML_PLAIN)
|
||||
"""
|
||||
styles = styles or {}
|
||||
|
||||
Reference in New Issue
Block a user