Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d399a4

Browse files
committed
Grammar fix.
1 parent 714370f commit 4d399a4

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Doc/library/os.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ as internal buffering of data.
700700
.. function:: fchmod(fd, mode)
701701

702702
Change the mode of the file given by *fd* to the numeric *mode*. See the
703-
docs for :func:`chmod` for possible values of *mode*. From Python 3.3, this
703+
docs for :func:`chmod` for possible values of *mode*. As of Python 3.3, this
704704
is equivalent to ``os.chmod(fd, mode)``.
705705

706706
Availability: Unix.
@@ -710,7 +710,7 @@ as internal buffering of data.
710710

711711
Change the owner and group id of the file given by *fd* to the numeric *uid*
712712
and *gid*. To leave one of the ids unchanged, set it to -1. See
713-
:func:`chown`. From Python 3.3, this is equivalent to ``os.chown(fd, uid,
713+
:func:`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid,
714714
gid)``.
715715

716716
Availability: Unix.
@@ -742,14 +742,14 @@ as internal buffering of data.
742742
included in ``pathconf_names``, an :exc:`OSError` is raised with
743743
:const:`errno.EINVAL` for the error number.
744744

745-
From Python 3.3, this is equivalent to ``os.pathconf(fd, name)``.
745+
As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``.
746746

747747
Availability: Unix.
748748

749749

750750
.. function:: fstat(fd)
751751

752-
Return status for file descriptor *fd*, like :func:`~os.stat`. From Python
752+
Return status for file descriptor *fd*, like :func:`~os.stat`. As of Python
753753
3.3, this is equivalent to ``os.stat(fd)``.
754754

755755
Availability: Unix, Windows.
@@ -758,7 +758,7 @@ as internal buffering of data.
758758
.. function:: fstatvfs(fd)
759759

760760
Return information about the filesystem containing the file associated with
761-
file descriptor *fd*, like :func:`statvfs`. From Python 3.3, this is
761+
file descriptor *fd*, like :func:`statvfs`. As of Python 3.3, this is
762762
equivalent to ``os.statvfs(fd)``.
763763

764764
Availability: Unix.
@@ -779,7 +779,7 @@ as internal buffering of data.
779779
.. function:: ftruncate(fd, length)
780780

781781
Truncate the file corresponding to file descriptor *fd*, so that it is at
782-
most *length* bytes in size. From Python 3.3, this is equivalent to
782+
most *length* bytes in size. As of Python 3.3, this is equivalent to
783783
``os.truncate(fd, length)``.
784784

785785
Availability: Unix.
@@ -1420,7 +1420,7 @@ features:
14201420

14211421
Change the current working directory to the directory represented by the file
14221422
descriptor *fd*. The descriptor must refer to an opened directory, not an
1423-
open file. From Python 3.3, this is equivalent to ``os.chdir(fd)``.
1423+
open file. As of Python 3.3, this is equivalent to ``os.chdir(fd)``.
14241424

14251425
Availability: Unix.
14261426

@@ -1442,7 +1442,7 @@ features:
14421442
.. function:: lchflags(path, flags)
14431443

14441444
Set the flags of *path* to the numeric *flags*, like :func:`chflags`, but do
1445-
not follow symbolic links. From Python 3.3, this is equivalent to
1445+
not follow symbolic links. As of Python 3.3, this is equivalent to
14461446
``os.chflags(path, flags, follow_symlinks=False)``.
14471447

14481448
Availability: Unix.
@@ -1452,7 +1452,7 @@ features:
14521452

14531453
Change the mode of *path* to the numeric *mode*. If path is a symlink, this
14541454
affects the symlink rather than the target. See the docs for :func:`chmod`
1455-
for possible values of *mode*. From Python 3.3, this is equivalent to
1455+
for possible values of *mode*. As of Python 3.3, this is equivalent to
14561456
``os.chmod(path, mode, follow_symlinks=False)``.
14571457

14581458
Availability: Unix.
@@ -1461,7 +1461,7 @@ features:
14611461
.. function:: lchown(path, uid, gid)
14621462

14631463
Change the owner and group id of *path* to the numeric *uid* and *gid*. This
1464-
function will not follow symbolic links. From Python 3.3, this is equivalent
1464+
function will not follow symbolic links. As of Python 3.3, this is equivalent
14651465
to ``os.chown(path, uid, gid, follow_symlinks=False)``.
14661466

14671467
Availability: Unix.
@@ -1519,7 +1519,7 @@ features:
15191519
Perform the equivalent of an :c:func:`lstat` system call on the given path.
15201520
Similar to :func:`~os.stat`, but does not follow symbolic links. On
15211521
platforms that do not support symbolic links, this is an alias for
1522-
:func:`~os.stat`. From Python 3.3, this is equivalent to ``os.stat(path,
1522+
:func:`~os.stat`. As of Python 3.3, this is equivalent to ``os.stat(path,
15231523
dir_fd=dir_fd, follow_symlinks=False)``.
15241524

15251525
This function can also support :ref:`paths relative to directory descriptors

0 commit comments

Comments
 (0)