##// END OF EJS Templates
reformat
Matthias Bussonnier -
Show More
@@ -89,8 +89,9 b' classic_prompt = PromptStripper('
89 89 initial_re=re.compile(r'^>>>( |$)')
90 90 )
91 91
92 ipython_prompt = PromptStripper(re.compile(
93 r'''
92 ipython_prompt = PromptStripper(
93 re.compile(
94 r"""
94 95 ^( # Match from the beginning of a line, either:
95 96
96 97 # 1. First-line prompt:
@@ -107,9 +108,10 b' ipython_prompt = PromptStripper(re.compile('
107 108 \ ? # With an optional trailing space
108 109
109 110 )
110 ''',
111 re.VERBOSE
112 ))
111 """,
112 re.VERBOSE,
113 )
114 )
113 115
114 116
115 117 def cell_magic(lines):
General Comments 0
You need to be logged in to leave comments. Login now