diff options
author | Éric Araujo <merwok@netwok.org> | 2010-02-10 21:24:11 +0300 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-02-10 21:24:11 +0300 |
commit | 357d7db07d7e28ff46d60f0903902cc570f9bc01 (patch) | |
tree | e2692ded91226f10e6cc47031c91077578af47b4 /src/ipython_view.py | |
parent | c9ad0f5d7d82b2c9c3840ee74c1720affa80900a (diff) |
fixed some whitespace thanks to 2to3 -f ws_comma
Diffstat (limited to 'src/ipython_view.py')
-rw-r--r-- | src/ipython_view.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipython_view.py b/src/ipython_view.py index bfc50d21a..18fa07230 100644 --- a/src/ipython_view.py +++ b/src/ipython_view.py @@ -106,7 +106,7 @@ class IterableIPShell: os.environ['TERM'] = 'dumb' excepthook = sys.excepthook self.IP = IPython.Shell.make_IPython( - argv,user_ns=user_ns, + argv, user_ns=user_ns, user_global_ns=user_global_ns, embedded=True, shell_class=IPython.Shell.InteractiveShell) @@ -397,7 +397,7 @@ class ConsoleView(gtk.TextView): if text: self._write('\n') self._showPrompt(self.prompt) - self.text_buffer.move_mark(self.line_start,self.text_buffer.get_end_iter()) + self.text_buffer.move_mark(self.line_start, self.text_buffer.get_end_iter()) self.text_buffer.place_cursor(self.text_buffer.get_end_iter()) def onKeyPress(self, widget, event): @@ -462,7 +462,7 @@ class IPythonView(ConsoleView, IterableIPShell): """ ConsoleView.__init__(self) self.cout = StringIO() - IterableIPShell.__init__(self, cout=self.cout,cerr=self.cout, + IterableIPShell.__init__(self, cout=self.cout, cerr=self.cout, input_func=self.raw_input) # self.connect('key_press_event', self.keyPress) self.execute() |