##// END OF EJS Templates
add additional clarification in ip_d re prompt stripping
y-p -
Show More
@@ -217,9 +217,12 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
220 # The default ipython_rgx* treat the space following the colon as optional.
221 # If the space is there we must consume it, otherwise code
221 # However, If the space is there we must consume it or code
222 # employing the cython_magic extension fails to work.
222 # employing the cython_magic extension will fail to execute.
223 #
224 # This works with the default ipython_rgx* patterns,
225 # If you modify them, YMMV.
223 nextline = nextline[Nc:]
226 nextline = nextline[Nc:]
224 if nextline and nextline[0] == ' ':
227 if nextline and nextline[0] == ' ':
225 nextline = nextline[1:]
228 nextline = nextline[1:]
General Comments 0
You need to be logged in to leave comments. Login now