##// END OF EJS Templates
%paste - print reminder about quitting with '--'
vivainio -
Show More
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Magic functions for InteractiveShell.
2 """Magic functions for InteractiveShell.
3
3
4 $Id: Magic.py 1069 2006-01-23 21:07:28Z vivainio $"""
4 $Id: Magic.py 1070 2006-01-23 21:12:36Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
@@ -2784,6 +2784,7 b' Defaulting color scheme to \'NoColor\'"""'
2784 par = parameter_s.strip()
2784 par = parameter_s.strip()
2785 from IPython import iplib
2785 from IPython import iplib
2786 lines = []
2786 lines = []
2787 print "Pasting code; enter '--' alone on the line to stop."
2787 while 1:
2788 while 1:
2788 l = iplib.raw_input_original(':')
2789 l = iplib.raw_input_original(':')
2789 if l =='--':
2790 if l =='--':
General Comments 0
You need to be logged in to leave comments. Login now