Skip to content

Commit

Permalink
Fix failure in py3
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Apr 14, 2016
1 parent c3fe96f commit 13c814a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/ext/mathbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def is_equation(part):
labeldef = r'\label{%s}' % label
numbering = True

parts = filter(is_equation, math.split('\n\n'))
parts = list(filter(is_equation, math.split('\n\n')))
equations = []
if len(parts) == 0:
return ''
Expand Down

0 comments on commit 13c814a

Please sign in to comment.