##// END OF EJS Templates
-c now does prefilter, and exits ipython afterwards
vivainio -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6
6
7 This file contains all the classes and helper functions specific to IPython.
7 This file contains all the classes and helper functions specific to IPython.
8
8
9 $Id: iplib.py 2404 2007-05-28 12:57:35Z vivainio $
9 $Id: iplib.py 2422 2007-06-11 15:16:45Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -1503,7 +1503,8 b' want to merge them back into the new files.""" % locals()'
1503 This emulates Python's -c option."""
1503 This emulates Python's -c option."""
1504
1504
1505 #sys.argv = ['-c']
1505 #sys.argv = ['-c']
1506 self.push(self.rc.c)
1506 self.push(self.prefilter(self.rc.c, False))
1507 self.exit_now = True
1507
1508
1508 def embed_mainloop(self,header='',local_ns=None,global_ns=None,stack_depth=0):
1509 def embed_mainloop(self,header='',local_ns=None,global_ns=None,stack_depth=0):
1509 """Embeds IPython into a running python program.
1510 """Embeds IPython into a running python program.
General Comments 0
You need to be logged in to leave comments. Login now