13 lines
453 B
Plaintext
13 lines
453 B
Plaintext
Index: pexpect/replwrap.py
|
|
--- pexpect/replwrap.py.orig
|
|
+++ pexpect/replwrap.py
|
|
@@ -108,7 +108,7 @@ class REPLWrapper(object):
|
|
+ command)
|
|
return u''.join(res + [self.child.before])
|
|
|
|
-def python(command="python"):
|
|
+def python(command="${MODPY_BIN}"):
|
|
"""Start a Python shell and return a :class:`REPLWrapper` object."""
|
|
return REPLWrapper(command, u">>> ", u"import sys; sys.ps1={0!r}; sys.ps2={1!r}")
|
|
|