Commit b77b1ce8 authored by Andrey Golovizin's avatar Andrey Golovizin

Use six.integer_types instead of (int, long)

parent 11d90703
......@@ -405,7 +405,7 @@ class BaseMultipartText(BaseText):
Text(Tag('em', '!'))
"""
if isinstance(key, (int, long)):
if isinstance(key, six.integer_types):
start = key
end = None
elif isinstance(key, slice):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment