summaryrefslogtreecommitdiff
path: root/paramiko/sftp_file.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-02-21 15:46:58 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-02-21 15:46:58 -0800
commit91c47b17482ccabc64e6448cc0e1d48c38251105 (patch)
treeb24cd24572c9f18d78d75e5058d0d8c32d4e7924 /paramiko/sftp_file.py
parent0d0836661266befb03ecfd62c03461c2ccac8814 (diff)
downloadparamiko-91c47b17482ccabc64e6448cc0e1d48c38251105.tar.gz
s/python/Python/, c'mon son!
Diffstat (limited to 'paramiko/sftp_file.py')
-rw-r--r--paramiko/sftp_file.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py
index 770fa126..fa026ec5 100644
--- a/paramiko/sftp_file.py
+++ b/paramiko/sftp_file.py
@@ -240,7 +240,7 @@ class SFTPFile (BufferedFile):
def chmod(self, mode):
"""
Change the mode (permissions) of this file. The permissions are
- unix-style and identical to those used by python's ``os.chmod``
+ unix-style and identical to those used by Python's ``os.chmod``
function.
:param mode: new permissions
@@ -254,7 +254,7 @@ class SFTPFile (BufferedFile):
def chown(self, uid, gid):
"""
Change the owner (``uid``) and group (``gid``) of this file. As with
- python's ``os.chown`` function, you must pass both arguments, so if you
+ Python's ``os.chown`` function, you must pass both arguments, so if you
only want to change one, use `stat` first to retrieve the current
owner and group.
@@ -274,7 +274,7 @@ class SFTPFile (BufferedFile):
``times`` is ``None``, then the file's access and modified times are set
to the current time. Otherwise, ``times`` must be a 2-tuple of numbers,
of the form ``(atime, mtime)``, which is used to set the access and
- modified times, respectively. This bizarre API is mimicked from python
+ modified times, respectively. This bizarre API is mimicked from Python
for the sake of consistency -- I apologize.
:param times: ``None`` or a tuple of (access time, modified time) in
@@ -292,7 +292,7 @@ class SFTPFile (BufferedFile):
"""
Change the size of this file. This usually extends
or shrinks the size of the file, just like the ``truncate()`` method on
- python file objects.
+ Python file objects.
:param size: the new size of the file
:type size: int or long