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
3 changes: 2 additions & 1 deletion Doc/builtins/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,8 @@ are always available. They are listed here in alphabetical order.
binary mode file objects. For these, use ``file.write(...)`` instead.

Output buffering is usually determined by *file*.
However, if *flush* is true, the stream is forcibly flushed.
However, if *flush* is true, the stream is forcibly flushed after the *objects*
have been printed.


.. versionchanged:: 3.3
Expand Down
1 change: 1 addition & 0 deletions Doc/c-api/bytearray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Direct API functions
.. c:function:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)

Create a new bytearray object from *string* and its length, *len*.
If *string* is ``NULL``, the contents of the bytearray object are uninitialized.

On failure, return ``NULL`` with an exception set.

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/__main__.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Idiomatic Usage
^^^^^^^^^^^^^^^

The content of ``__main__.py`` typically isn't fenced with an
``if __name__ == '__main__'`` block. Instead, those files are kept
``if __name__ == '__main__'`` block. Instead, these files are kept
short and import functions to execute from other modules. Those other modules can then be
easily unit-tested and are properly reusable.

Expand Down
2 changes: 1 addition & 1 deletion Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ backslashes; the whitespace up to the first backslash determines the
indentation.

Indentation is rejected as inconsistent if a source file mixes tabs and spaces
in a way that makes the meaning dependent on the worth of a tab in spaces; a
in a way that makes the meaning dependent on the width of a tab in spaces; a
:exc:`TabError` is raised in that case.

**Cross-platform compatibility note:** because of the nature of text editors on
Expand Down
Loading