|
@@ -21,7 +21,6 @@ |
|
|
# SOFTWARE. |
|
|
# SOFTWARE. |
|
|
|
|
|
|
|
|
from __future__ import unicode_literals |
|
|
from __future__ import unicode_literals |
|
|
from collections import deque |
|
|
|
|
|
from itertools import chain |
|
|
from itertools import chain |
|
|
import re |
|
|
import re |
|
|
|
|
|
|
|
@@ -254,7 +253,7 @@ class Wikicode(StringMixIn): |
|
|
if equivalent(obj, child): |
|
|
if equivalent(obj, child): |
|
|
return i |
|
|
return i |
|
|
elif equivalent(obj, node): |
|
|
elif equivalent(obj, node): |
|
|
return i |
|
|
|
|
|
|
|
|
return i |
|
|
raise ValueError(obj) |
|
|
raise ValueError(obj) |
|
|
|
|
|
|
|
|
def insert(self, index, value): |
|
|
def insert(self, index, value): |
|
|