From f35a18096e87456ed7641d115079ab98448320f8 2006-01-23 21:12:36 From: vivainio Date: 2006-01-23 21:12:36 Subject: [PATCH] %paste - print reminder about quitting with '--' --- diff --git a/IPython/Magic.py b/IPython/Magic.py index d044cbb..15c84ae 100644 --- a/IPython/Magic.py +++ b/IPython/Magic.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Magic functions for InteractiveShell. -$Id: Magic.py 1069 2006-01-23 21:07:28Z vivainio $""" +$Id: Magic.py 1070 2006-01-23 21:12:36Z vivainio $""" #***************************************************************************** # Copyright (C) 2001 Janko Hauser and @@ -2784,6 +2784,7 @@ Defaulting color scheme to 'NoColor'""" par = parameter_s.strip() from IPython import iplib lines = [] + print "Pasting code; enter '--' alone on the line to stop." while 1: l = iplib.raw_input_original(':') if l =='--':