summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Chavkin <alexlchavkin@gmail.com>2023-02-12 12:11:01 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-02-16 16:59:36 -0500
commitdbde087c00d086216301d99591fe5d4f7d7b2bbb (patch)
treed0aaf7c13dfaed27f000ba74614abec78852abe5
parentf7f8a89e628ffa321cb6e78dd019d2b83181dc1b (diff)
downloadparamiko-dbde087c00d086216301d99591fe5d4f7d7b2bbb.tar.gz
hostkeys: update docstring for autdodoc per #2173
-rw-r--r--paramiko/hostkeys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py
index f9635159..bbfa5755 100644
--- a/paramiko/hostkeys.py
+++ b/paramiko/hostkeys.py
@@ -329,7 +329,8 @@ class HostKeyEntry:
"""
Parses the given line of text to find the names for the host,
the type of key, and the key data. The line is expected to be in the
- format used by the OpenSSH known_hosts file.
+ format used by the OpenSSH known_hosts file. Fields are separated by a
+ single space or tab.
Lines are expected to not have leading or trailing whitespace.
We don't bother to check for comments or empty lines. All of