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

Skip to content

Commit 979d041

Browse files
committed
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.
1 parent 216b870 commit 979d041

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

Doc/tut/tut.tex

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ \section{First Steps Towards Programming \label{firstSteps}}
942942

943943
Of course, we can use Python for more complicated tasks than adding
944944
two and two together. For instance, we can write an initial
945-
subsequence of the \emph{Fibonacci} series as follows:
945+
sub-sequence of the \emph{Fibonacci} series as follows:
946946

947947
\begin{verbatim}
948948
>>> # Fibonacci series:
@@ -2032,7 +2032,7 @@ \section{Comparing Sequences and Other Types \label{comparing}}
20322032
If two items to be compared are themselves sequences of the same type,
20332033
the lexicographical comparison is carried out recursively. If all
20342034
items of two sequences compare equal, the sequences are considered
2035-
equal. If one sequence is an initial subsequence of the other, the
2035+
equal. If one sequence is an initial sub-sequence of the other, the
20362036
shorter sequence is the smaller one. Lexicographical ordering for
20372037
strings uses the \ASCII{} ordering for individual characters. Some
20382038
examples of comparisons between sequences with the same types:
@@ -3910,10 +3910,12 @@ \subsection{Exceptions Can Be Classes \label{exceptionClasses}}
39103910
39113911
\chapter{What Now? \label{whatNow}}
39123912
3913-
Hopefully reading this tutorial has reinforced your interest in using
3914-
Python. Now what should you do?
3913+
Reading this tutorial has probably reinforced your interest in using
3914+
Python --- you should be eager to apply Python to solve your
3915+
real-world problems. Now what should you do?
39153916
3916-
You should read, or at least page through, the Library Reference,
3917+
You should read, or at least page through, the
3918+
\citetitle[../lib/lib.html]{Python Library Reference},
39173919
which gives complete (though terse) reference material about types,
39183920
functions, and modules that can save you a lot of time when writing
39193921
Python programs. The standard Python distribution includes a

0 commit comments

Comments
 (0)