<div class="gmail_extra">Hi Will,<br><br><div class="gmail_quote">On 12 November 2012 10:48, William Furnass <span dir="ltr">&lt;<a href="mailto:will@thearete.co.uk" target="_blank">will@thearete.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div><div style="min-height:64.8px"><div><div><div style="outline:medium none"><div><pre><span>%</span><span>timeit</span> <span>x</span> = [<span>1</span>,</pre>

<pre>             <span>2</span>,</pre><pre>             <span>3</span>] </pre>
</div></div></div></div></div></div></div></div></div><div style="display:-moz-box"><div><div><pre><span>IndentationError</span><span>:</span> unexpected indent


<br>Is this a bug or am I missing something obvious here?</pre></div></div></div></blockquote></div><br>I guess it&#39;s not exactly obvious, but you can&#39;t (yet) split a line magic over several lines. You&#39;ll need to use a cell magic, like this:<br>

<span style="font-family:courier new,monospace"><br>%%timeit<br>x = [1,<br>     2,<br>     3]</span><br><br>Hope that helps,<br>Thomas<br></div>