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

Skip to content

Commit c645ce5

Browse files
authored
Some changes in the index (references to function)
I suggest these changes to join some references to function.
1 parent 0564b60 commit c645ce5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

book/book.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ \section{Function calls}
19611961

19621962
\section{Math functions}
19631963
\index{math function}
1964-
\index{function, math}
1964+
\index{function!math}
19651965

19661966
Python has a math module that provides most of the familiar
19671967
mathematical functions. A {\bf module} is a file that contains a
@@ -2007,7 +2007,7 @@ \section{Math functions}
20072007
\index{sine function}
20082008
\index{radian}
20092009
\index{trigonometric function}
2010-
\index{function, trigonometric}
2010+
\index{function!trigonometric}
20112011

20122012
The second example finds the sine of {\tt radians}. The variable name {\tt radians} is a hint that {\tt sin} and the other trigonometric
20132013
functions ({\tt cos}, {\tt tan}, etc.) take arguments in radians. To
@@ -2454,8 +2454,8 @@ \section{Stack diagrams}
24542454
\section{Fruitful functions and void functions}
24552455
\index{fruitful function}
24562456
\index{void function}
2457-
\index{function, fruitful}
2458-
\index{function, void}
2457+
\index{function!fruitful}
2458+
\index{function!void}
24592459

24602460
Some of the functions we have used, such as the math functions, return
24612461
results; for lack of a better name, I call them {\bf fruitful
@@ -2522,7 +2522,7 @@ \section{Fruitful functions and void functions}
25222522

25232523

25242524
\section{Why functions?}
2525-
\index{function, reasons for}
2525+
\index{function!reasons for}
25262526

25272527
It may not be clear why it is worth the trouble to divide
25282528
a program into functions. There are several reasons:
@@ -9696,7 +9696,7 @@ \section{Tuples as return values}
96969696
\index{tuple}
96979697
\index{value!tuple}
96989698
\index{return value!tuple}
9699-
\index{function, tuple as return value}
9699+
\index{function!tuple as return value}
97009700
97019701
Strictly speaking, a function can only return one value, but
97029702
if the value is a tuple, the effect is the same as returning

0 commit comments

Comments
 (0)