diff options
author | Thomas Kluyver <thomas@kluyver.me.uk> | 2015-12-04 10:11:52 +0000 |
---|---|---|
committer | Thomas Kluyver <thomas@kluyver.me.uk> | 2015-12-04 10:11:52 +0000 |
commit | 8cf885aa6c41310d14dc70270c4ecdcfaa16e477 (patch) | |
tree | 85efea1eea41247ecbc8b86637ee796522190c73 | |
parent | d21a2eacc463bdb46c56accec13e2266d69668fe (diff) | |
download | pexpect-git-8cf885aa6c41310d14dc70270c4ecdcfaa16e477.tar.gz |
Update pxssh examples to import 'from pexpect'
Closes gh-302
-rw-r--r-- | pexpect/pxssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index 4638164..d5aec8a 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -46,7 +46,7 @@ class pxssh (spawn): Example that runs a few commands on a remote server and prints the result:: - import pxssh + from pexpect import pxssh import getpass try: s = pxssh.pxssh() @@ -70,7 +70,7 @@ class pxssh (spawn): Example showing how to specify SSH options:: - import pxssh + from pexpect import pxssh s = pxssh.pxssh(options={ "StrictHostKeyChecking": "no", "UserKnownHostsFile": "/dev/null"}) |