From 2feddf8ef78c8cfc05862d723b230f2baabdada3 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Thu, 8 Apr 2004 06:31:08 +0000 Subject: [PATCH] [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-49] fix doc typos --- paramiko/dsskey.py | 4 ++-- paramiko/rsakey.py | 4 ++-- paramiko/transport.py | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/paramiko/dsskey.py b/paramiko/dsskey.py index ae290a7..612e1f8 100644 --- a/paramiko/dsskey.py +++ b/paramiko/dsskey.py @@ -145,9 +145,9 @@ class DSSKey (PKey): generate a new host key or authentication key. @param bits: number of bits the generated key should be. - @type bites: int + @type bits: int @param progress_func: an optional function to call at key points in - key generation (used by L{pyCrypto.PublicKey}). + key generation (used by C{pyCrypto.PublicKey}). @type progress_func: function @return: new private key @rtype: L{DSSKey} diff --git a/paramiko/rsakey.py b/paramiko/rsakey.py index e9fe911..23fc615 100644 --- a/paramiko/rsakey.py +++ b/paramiko/rsakey.py @@ -136,9 +136,9 @@ class RSAKey (PKey): generate a new host key or authentication key. @param bits: number of bits the generated key should be. - @type bites: int + @type bits: int @param progress_func: an optional function to call at key points in - key generation (used by L{pyCrypto.PublicKey}). + key generation (used by C{pyCrypto.PublicKey}). @type progress_func: function @return: new private key @rtype: L{RSAKey} diff --git a/paramiko/transport.py b/paramiko/transport.py index 467c672..57bb4db 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -348,13 +348,14 @@ class BaseTransport (threading.Thread): Return the host key of the server (in client mode). @note: Previously this call returned a tuple of (key type, key string). - You can get the same effect by calling L{PKey.get_name} for the key - type, and C{str(key)} for the key string. + You can get the same effect by calling + L{PKey.get_name } for the key type, and C{str(key)} + for the key string. @raise SSHException: if no session is currently active. @return: public key of the remote server. - @rtype: L{PKey} + @rtype: L{PKey } """ if (not self.active) or (not self.initial_kex_done): raise SSHException('No existing session')