Make reference to the Library Reference in the "What Now?" chapter a
hyperlink. Fix two English usage errors caught by Jan Wells: Changed "subsequence" to "sub-sequence" in two places, and avoid improper use of "hopefully" in the first paragraph of the "What Now?" chapter.
This commit is contained in:
parent
216b8707d9
commit
979d041b6f
|
@ -942,7 +942,7 @@ the same object! We'll come back to \emph{object semantics} later.
|
|||
|
||||
Of course, we can use Python for more complicated tasks than adding
|
||||
two and two together. For instance, we can write an initial
|
||||
subsequence of the \emph{Fibonacci} series as follows:
|
||||
sub-sequence of the \emph{Fibonacci} series as follows:
|
||||
|
||||
\begin{verbatim}
|
||||
>>> # Fibonacci series:
|
||||
|
@ -2032,7 +2032,7 @@ two items are compared, and so on, until either sequence is exhausted.
|
|||
If two items to be compared are themselves sequences of the same type,
|
||||
the lexicographical comparison is carried out recursively. If all
|
||||
items of two sequences compare equal, the sequences are considered
|
||||
equal. If one sequence is an initial subsequence of the other, the
|
||||
equal. If one sequence is an initial sub-sequence of the other, the
|
||||
shorter sequence is the smaller one. Lexicographical ordering for
|
||||
strings uses the \ASCII{} ordering for individual characters. Some
|
||||
examples of comparisons between sequences with the same types:
|
||||
|
@ -3910,10 +3910,12 @@ finally the instance converted to a string using the built-in function
|
|||
|
||||
\chapter{What Now? \label{whatNow}}
|
||||
|
||||
Hopefully reading this tutorial has reinforced your interest in using
|
||||
Python. Now what should you do?
|
||||
Reading this tutorial has probably reinforced your interest in using
|
||||
Python --- you should be eager to apply Python to solve your
|
||||
real-world problems. Now what should you do?
|
||||
|
||||
You should read, or at least page through, the Library Reference,
|
||||
You should read, or at least page through, the
|
||||
\citetitle[../lib/lib.html]{Python Library Reference},
|
||||
which gives complete (though terse) reference material about types,
|
||||
functions, and modules that can save you a lot of time when writing
|
||||
Python programs. The standard Python distribution includes a
|
||||
|
|
Loading…
Reference in New Issue