summaryrefslogtreecommitdiff
path: root/paramiko/sftp_file.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-02-21 12:16:11 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-02-21 12:16:11 -0800
commitf836c98e5c5c859cb9d0189aed51dd5a884ee072 (patch)
treec9e2bf365c9f07d52b129dd32b1108c1c6b327af /paramiko/sftp_file.py
parentf09b562fa874d3358daa7dfd4ca7f2c8b5d47b68 (diff)
downloadparamiko-f836c98e5c5c859cb9d0189aed51dd5a884ee072.tar.gz
Don't actually need :class: anywhere now
Diffstat (limited to 'paramiko/sftp_file.py')
-rw-r--r--paramiko/sftp_file.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py
index 2ebad87e..770fa126 100644
--- a/paramiko/sftp_file.py
+++ b/paramiko/sftp_file.py
@@ -17,7 +17,7 @@
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
"""
-:class:`.SFTPFile`
+`.SFTPFile`
"""
from __future__ import with_statement
@@ -181,9 +181,9 @@ class SFTPFile (BufferedFile):
def settimeout(self, timeout):
"""
Set a timeout on read/write operations on the underlying socket or
- ssh :class:`.Channel`.
+ ssh `.Channel`.
- .. seealso:: :class:`Channel.settimeout`
+ .. seealso:: `Channel.settimeout`
:param timeout: seconds to wait for a pending read/write operation
before raising ``socket.timeout``, or ``None`` for no timeout
:type timeout: float
@@ -193,9 +193,9 @@ class SFTPFile (BufferedFile):
def gettimeout(self):
"""
Returns the timeout in seconds (as a float) associated with the socket
- or ssh :class:`.Channel` used for this file.
+ or ssh `.Channel` used for this file.
- .. seealso:: :class:`Channel.gettimeout`
+ .. seealso:: `Channel.gettimeout`
:rtype: float
"""
return self.sftp.sock.gettimeout()
@@ -203,9 +203,9 @@ class SFTPFile (BufferedFile):
def setblocking(self, blocking):
"""
Set blocking or non-blocking mode on the underiying socket or ssh
- :class:`.Channel`.
+ `.Channel`.
- .. seealso:: :class:`Channel.setblocking`
+ .. seealso:: `Channel.setblocking`
:param blocking: 0 to set non-blocking mode; non-0 to set blocking
mode.
:type blocking: int
@@ -226,7 +226,7 @@ class SFTPFile (BufferedFile):
def stat(self):
"""
Retrieve information about this file from the remote system. This is
- exactly like :class:`SFTP.stat`, except that it operates on an already-open
+ exactly like `SFTP.stat`, except that it operates on an already-open
file.
:return: an object containing attributes about this file.