Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2348,7 +2348,7 @@ Data types
.. method:: _CData.from_buffer(source[, offset])

This method returns a ctypes instance that shares the buffer of the
*source* object. The *source* object must support the writeable buffer
*source* object. The *source* object must support the writable buffer
interface. The optional *offset* parameter specifies an offset into the
source buffer in bytes; the default is zero. If the source buffer is not
large enough a :exc:`ValueError` is raised.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@ are always available. They are listed here in alphabetical order.
``fdel`` corresponding to the constructor arguments.

.. versionchanged:: 3.5
The docstrings of property objects are now writeable.
The docstrings of property objects are now writable.

.. attribute:: __name__

Expand Down
8 changes: 4 additions & 4 deletions Doc/library/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ than raw I/O does.

.. class:: BufferedWriter(raw, buffer_size=DEFAULT_BUFFER_SIZE)

A buffered binary stream providing higher-level access to a writeable, non
A buffered binary stream providing higher-level access to a writable, non
seekable :class:`RawIOBase` raw binary stream. It inherits from
:class:`BufferedIOBase`.

Expand All @@ -802,7 +802,7 @@ than raw I/O does.
* when a :meth:`~IOBase.seek` is requested (for :class:`BufferedRandom` objects);
* when the :class:`BufferedWriter` object is closed or destroyed.

The constructor creates a :class:`BufferedWriter` for the given writeable
The constructor creates a :class:`BufferedWriter` for the given writable
*raw* stream. If the *buffer_size* is not given, it defaults to
:data:`DEFAULT_BUFFER_SIZE`.

Expand Down Expand Up @@ -840,11 +840,11 @@ than raw I/O does.
.. class:: BufferedRWPair(reader, writer, buffer_size=DEFAULT_BUFFER_SIZE, /)

A buffered binary stream providing higher-level access to two non seekable
:class:`RawIOBase` raw binary streams---one readable, the other writeable.
:class:`RawIOBase` raw binary streams---one readable, the other writable.
It inherits from :class:`BufferedIOBase`.

*reader* and *writer* are :class:`RawIOBase` objects that are readable and
writeable respectively. If the *buffer_size* is omitted it defaults to
writable respectively. If the *buffer_size* is omitted it defaults to
:data:`DEFAULT_BUFFER_SIZE`.

:class:`BufferedRWPair` implements all of :class:`BufferedIOBase`\'s methods
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/marshal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The module defines these functions:
.. function:: dump(value, file, version=version, /, *, allow_code=True)

Write the value on the open file. The value must be a supported type. The
file must be a writeable :term:`binary file`.
file must be a writable :term:`binary file`.

If the value has (or contains an object that has) an unsupported type, a
:exc:`ValueError` exception is raised --- but garbage data will also be written
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ Constants

Whether the OpenSSL library has built-in support not checking subject
common name and :attr:`SSLContext.hostname_checks_common_name` is
writeable.
writable.

.. versionadded:: 3.7

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/subprocess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ Reassigning them to new values is unsupported:

.. attribute:: Popen.stdin

If the *stdin* argument was :data:`PIPE`, this attribute is a writeable
If the *stdin* argument was :data:`PIPE`, this attribute is a writable
stream object as returned by :func:`open`. If the *encoding* or *errors*
arguments were specified or the *text* or *universal_newlines* argument
was ``True``, the stream is a text stream, otherwise it is a byte stream.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/zipfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ ZipFile objects
Previously, a :exc:`RuntimeError` was raised.

.. versionchanged:: 3.13
Added attributes :attr:`!name` and :attr:`!mode` for the writeable
Added attributes :attr:`!name` and :attr:`!mode` for the writable
file-like object.
The value of the :attr:`!mode` attribute for the readable file-like
object was changed from ``'r'`` to ``'rb'``.
Expand Down
Loading