Show More
@@ -1818,9 +1818,7 b' class InteractiveShell(SingletonConfigurable, Magic):' | |||||
1818 | [D:\ipython]|1> _ip.set_next_input("Hello Word") |
|
1818 | [D:\ipython]|1> _ip.set_next_input("Hello Word") | |
1819 | [D:\ipython]|2> Hello Word_ # cursor is here |
|
1819 | [D:\ipython]|2> Hello Word_ # cursor is here | |
1820 | """ |
|
1820 | """ | |
1821 | if isinstance(s, unicode): |
|
1821 | self.rl_next_input = py3compat.cast_bytes_py2(s) | |
1822 | s = s.encode(self.stdin_encoding, 'replace') |
|
|||
1823 | self.rl_next_input = s |
|
|||
1824 |
|
1822 | |||
1825 | # Maybe move this to the terminal subclass? |
|
1823 | # Maybe move this to the terminal subclass? | |
1826 | def pre_readline(self): |
|
1824 | def pre_readline(self): |
General Comments 0
You need to be logged in to leave comments.
Login now