11.. _tut-io :
22
33****************
4- Input and Output
4+ Input and output
55****************
66
77There are several ways to present the output of a program; data can be printed
@@ -11,7 +11,7 @@ discuss some of the possibilities.
1111
1212.. _tut-formatting :
1313
14- Fancier Output Formatting
14+ Fancier output formatting
1515=========================
1616
1717So far we've encountered two ways of writing values: *expression statements * and
@@ -111,7 +111,7 @@ This syntax is easy to use, although it offers much less control for formatting.
111111
112112.. _tut-f-strings :
113113
114- Formatted String Literals
114+ Formatted string literals
115115-------------------------
116116
117117:ref: `Formatted string literals <f-strings >` (also called f-strings for
@@ -163,7 +163,7 @@ the reference guide for the :ref:`formatspec`.
163163
164164.. _tut-string-format :
165165
166- The String format() Method
166+ The string format() method
167167--------------------------
168168
169169Basic usage of the :meth: `str.format ` method looks like this::
@@ -240,7 +240,7 @@ For a complete overview of string formatting with :meth:`str.format`, see
240240:ref: `formatstrings `.
241241
242242
243- Manual String Formatting
243+ Manual string formatting
244244------------------------
245245
246246Here's the same table of squares and cubes, formatted manually::
@@ -303,7 +303,7 @@ More information can be found in the :ref:`old-string-formatting` section.
303303
304304.. _tut-files :
305305
306- Reading and Writing Files
306+ Reading and writing files
307307=========================
308308
309309.. index ::
@@ -385,7 +385,7 @@ automatically fail. ::
385385
386386.. _tut-filemethods :
387387
388- Methods of File Objects
388+ Methods of file objects
389389-----------------------
390390
391391The rest of the examples in this section will assume that a file object called
0 commit comments