Commit 0d1f1c80 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #1683 from jwilk/re.sub

Fix incorrect use of flags in re.sub()
parents 53366b5f 8c579988
......@@ -90,7 +90,7 @@ __doc__ = u"""
import sys, re
if sys.version_info >= (2,6):
__doc__ = re.sub(u"(ELLIPSIS[^>]*Error: )[^\n]*\n", u"\\1...\n", __doc__, re.M)
__doc__ = re.sub(u"(ELLIPSIS[^>]*Error: )[^\n]*\n", u"\\1...\n", __doc__)
cdef sorteditems(d):
l = list(d.items())
......
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