File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3232\title {Think Python}
3333\author {Allen B. Downey}
3434\newcommand {\thetitle }{Think Python: How to Think Like a Computer Scientist}
35- \newcommand {\theversion }{2nd Edition, Version 2.2.21 }
35+ \newcommand {\theversion }{2nd Edition, Version 2.2.23 }
3636\newcommand {\thedate }{}
3737
3838% these styles get translated in CSS for the HTML version
@@ -8537,8 +8537,8 @@ \section{Exercises}
85378537find the word or conclude that it's not there.
85388538
85398539Write a function called \verb "in_bisect " that takes a sorted list
8540- and a target value and returns the index of the value
8541- in the list if it's there, or {\tt None } if it's not.
8540+ and a target value and returns { \tt True} if the word is
8541+ in the list and {\tt False } if it's not.
85428542\index {bisect module}
85438543\index {module!bisect}
85448544
@@ -15133,7 +15133,7 @@ \section{Generator expressions}
1513315133%
1513415134The generator object keeps track of where it is in the sequence,
1513515135so the {\tt for} loop picks up where {\tt next} left off. Once the
15136- generator is exhausted, it continues to raise {\tt StopException }:
15136+ generator is exhausted, it continues to raise {\tt StopIteration }:
1513715137
1513815138\begin {verbatim }
1513915139>>> next(g)
You can’t perform that action at this time.
0 commit comments