summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-06-06 15:36:41 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-06-06 15:36:41 -0700
commit6eeecc1634004d0dc61c17a4797c97d55610ba6e (patch)
treef3dc467fcde7cc4879bfc455dec4d43e829b99cf
parent7150b58ad69b63d6e76e98d70578da5890c440e9 (diff)
downloadparamiko-6eeecc1634004d0dc61c17a4797c97d55610ba6e.tar.gz
sphinx nitpick fixes
-rw-r--r--paramiko/sftp_client.py3
-rw-r--r--paramiko/sftp_si.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py
index 97715ae3..f2e6869f 100644
--- a/paramiko/sftp_client.py
+++ b/paramiko/sftp_client.py
@@ -391,7 +391,8 @@ class SFTPClient(BaseSFTP, ClosingContextManager):
:param str newpath: new name for the file or folder, will be
overwritten if it already exists
- :raises IOError: if ``newpath`` is a folder, posix-rename is not
+ :raises:
+ ``IOError`` -- if ``newpath`` is a folder, posix-rename is not
supported by the server or something else goes wrong
"""
oldpath = self._adjust_cwd(oldpath)
diff --git a/paramiko/sftp_si.py b/paramiko/sftp_si.py
index bfe7b7c7..40969309 100644
--- a/paramiko/sftp_si.py
+++ b/paramiko/sftp_si.py
@@ -209,7 +209,7 @@ class SFTPServerInterface (object):
:param str oldpath:
the requested path (relative or absolute) of the existing file.
:param str newpath: the requested new path of the file.
- :return: an SFTP error code `int` like `.SFTP_OK`.
+ :return: an SFTP error code `int` like ``SFTP_OK``.
"""
return SFTP_OP_UNSUPPORTED