Open armamut opened 5 years ago
That is an IPython feature. When using magics braces get expanded to variable content. You need to double them to actually insert a brace.
That is an IPython feature. When using magics braces get expanded to variable content. You need to double them to actually insert a brace.
Oh, I see. Should I close this issue then?
Sorry, I have accidentally closed it. Thank for the reply :)
We can try to catch the SyntaxError and see if we can add a warning. Thanks for the report.
That is an IPython feature.
While running this trivial example is fine:
'{"abc", "def", "ghi"}'.replace('{','').replace('}','')
running it with
%time
magic gives error.%time '{"abc", "def", "ghi"}'.replace('{','').replace('}','')
jupyter --version is 4.4.0 jupyter notebook --version is 5.7.0