@@ -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
19661966Python has a math module that provides most of the familiar
19671967mathematical 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
20122012The second example finds the sine of {\tt radians}. The variable name {\tt radians} is a hint that {\tt sin} and the other trigonometric
20132013functions ({\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
24602460Some of the functions we have used, such as the math functions, return
24612461results; 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
25272527It may not be clear why it is worth the trouble to divide
25282528a 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
97019701Strictly speaking, a function can only return one value, but
97029702if the value is a tuple, the effect is the same as returning
0 commit comments