##// END OF EJS Templates
retry commit, autocall fixes
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 1121 2006-02-01 21:12:20Z vivainio $
9 $Id: iplib.py 1131 2006-02-07 11:51:54Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -2046,11 +2046,11 b' want to merge them back into the new files.""" % locals()'
2046 else:
2046 else:
2047 # if the object doesn't support [] access, go ahead and
2047 # if the object doesn't support [] access, go ahead and
2048 # autocall
2048 # autocall
2049 newcmd = '%s(%s)' % (iFun.rstrip(),",".join(theRest.split()))
2049 newcmd = '%s(%s)' % (iFun.rstrip(),theRest)
2050 elif theRest.endswith(';'):
2050 elif theRest.endswith(';'):
2051 newcmd = '%s(%s);' % (iFun.rstrip(),theRest[:-1])
2051 newcmd = '%s(%s);' % (iFun.rstrip(),theRest[:-1])
2052 else:
2052 else:
2053 newcmd = '%s(%s)' % (iFun.rstrip(),",".join(theRest.split()))
2053 newcmd = '%s(%s)' % (iFun.rstrip(), theRest)
2054
2054
2055 if auto_rewrite:
2055 if auto_rewrite:
2056 print >>Term.cout, self.outputcache.prompt1.auto_rewrite() + newcmd
2056 print >>Term.cout, self.outputcache.prompt1.auto_rewrite() + newcmd
General Comments 0
You need to be logged in to leave comments. Login now