Show More
@@ -217,6 +217,9 b' def block_parser(part, rgxin, rgxout, fmtin, fmtout):' | |||||
217 | if matchout or nextline.startswith('#'): |
|
217 | if matchout or nextline.startswith('#'): | |
218 | break |
|
218 | break | |
219 | elif nextline.startswith(continuation): |
|
219 | elif nextline.startswith(continuation): | |
|
220 | # ipython_rgxout says that the space after the colon is optional | |||
|
221 | # If the space is there we must consume it, otherwise code | |||
|
222 | # employing the cython_magic extension fails to work. | |||
220 | nextline = nextline[Nc:] |
|
223 | nextline = nextline[Nc:] | |
221 | if nextline and nextline[0] == ' ': |
|
224 | if nextline and nextline[0] == ' ': | |
222 | nextline = nextline[1:] |
|
225 | nextline = nextline[1:] |
General Comments 0
You need to be logged in to leave comments.
Login now