Traceback (most recent call last):


 "/Users/jukka/src/mypy/scripts/mypy", line 6, in <module>

main(__file__)


 "/Users/jukka/src/mypy/mypy/main.py", line 50, in main

res = type_check_only(sources, bin_dir, options)


 "/Users/jukka/src/mypy/mypy/main.py", line 97, in type_check_only

options=options)


 "/Users/jukka/src/mypy/mypy/build.py", line 192, in build

graph = dispatch(sources, manager)


 "/Users/jukka/src/mypy/mypy/build.py", line 1761, in dispatch

process_graph(graph, manager)


 "/Users/jukka/src/mypy/mypy/build.py", line 2004, in process_graph

process_stale_scc(graph, scc, manager)


 "/Users/jukka/src/mypy/mypy/build.py", line 2107, in process_stale_scc

graph[id].type_check_first_pass()


 "/Users/jukka/src/mypy/mypy/build.py", line 1676, in type_check_first_pass

self.type_checker.check_first_pass()


 "/Users/jukka/src/mypy/mypy/checker.py", line 185, in check_first_pass

self.accept(d)


 "/Users/jukka/src/mypy/mypy/checker.py", line 273, in accept

stmt.accept(self)


 "/Users/jukka/src/mypy/mypy/nodes.py", line 829, in accept

return visitor.visit_expression_stmt(self)


 "/Users/jukka/src/mypy/mypy/checker.py", line 1880, in visit_expression_stmt

self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True)


 "/Users/jukka/src/mypy/mypy/checkexpr.py", line 2223, in accept

typ = self.visit_call_expr(node, allow_none_return=True)


 "/Users/jukka/src/mypy/mypy/checkexpr.py", line 196, in visit_call_expr

for typ in mypy.checker.flatten(e.args[1]):
IndexError: list index out of range

Traceback (most recent call last):


 "test.py", line 22, in <module>

print(md.convert(text))


 "/usr/lib/python3/dist-packages/markdown/__init__.py", line 371, in convert

root = self.parser.parseDocument(self.lines).getroot()


 "/usr/lib/python3/dist-packages/markdown/blockparser.py", line 65, in parseDocument

self.parseChunk(self.root, '\n'.join(lines))


 "/usr/lib/python3/dist-packages/markdown/blockparser.py", line 80, in parseChunk

self.parseBlocks(parent, text.split('\n\n'))


 "/usr/lib/python3/dist-packages/markdown/blockparser.py", line 98, in parseBlocks

if processor.run(parent, blocks) is not False:


 "/usr/lib/python3/dist-packages/markdown/extensions/extra.py", line 130, in run

block = self._process_nests(element, block)


 "/usr/lib/python3/dist-packages/markdown/extensions/extra.py", line 97, in _process_nests

self.run(element, block[nest_index[-1][0]:nest_index[-1][1]],
# last
IndexError: list index out of range
