summaryrefslogtreecommitdiff
path: root/wikimarkup.py
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2015-07-05 14:20:07 +0300
committerSergey Poznyakoff <gray@gnu.org>2015-07-05 14:20:07 +0300
commit7ab9949e2c038ee6a7215d91896f2b47a5e7c06d (patch)
treed9b079cf7b64da1bf23fb3d7495d1873763d0002 /wikimarkup.py
parent729f5a4e4ad71ff62d56cae2336738d65dc574f9 (diff)
downloadwikitrans-7ab9949e2c038ee6a7215d91896f2b47a5e7c06d.tar.gz
wikitrans-7ab9949e2c038ee6a7215d91896f2b47a5e7c06d.tar.bz2
Remove unused constants
Diffstat (limited to 'wikimarkup.py')
-rw-r--r--wikimarkup.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/wikimarkup.py b/wikimarkup.py
index 2b6348e..060b7eb 100644
--- a/wikimarkup.py
+++ b/wikimarkup.py
@@ -23,7 +23,7 @@ __all__ = [ "BaseWikiMarkup", "WikiMarkup",
"NIL", "TEXT", "DELIM", "NL", "PARA",
"IT", "BOLD", "LINK", "TMPL",
"BAR", "HDR", "REF", "ENV", "IND", "SEQ",
- "ENVUNNUM", "ENVNUM", "envtypes" ]
+ "envtypes" ]
delim = re.compile("^==+|==+[ \\t]*$|(^----$)|^\\*+|^#+|^[;:]+|(\\[\\[)|\\[|(\\{\\{)|(\\]\\])|\\]|(\\}\\})|\\||(\\'\\'\\'?)")
@@ -46,10 +46,6 @@ SEQ = 14
ELT = 15
# Environment types:
-# Unnumbered list
-ENVUNNUM = 0
-# Numbered list
-ENVNUM = 1
envtypes = { "*": [ "unnumbered", 0 ],
"#": [ "numbered", 0 ],
";": [ "defn", 0 ],

Return to:

Send suggestions and report system problems to the System administrator.