File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed
Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -515,13 +515,14 @@ The recipe for hypothesis-based debugging runs something like the following:
5155151. Hypothesis Formation
516516
517517 What statements would be true were this issue not occurring. For example:
518+
518519 a. Are there variables which should have a known type or value, or would
519- have a known type or value in response to a different input?
520+ have a known type or value in response to a different input?
520521 b. Does it appear that particular code that should have run already has
521- not, or code that should not run has run?
522+ not, or code that should not run has run?
522523 c. Looking at a value which is observed to be wrong, where is the operation
523- that computes that value? Does a. or b. apply to any of the inputs to
524- that operation.
524+ that computes that value? Does a. or b. apply to any of the inputs to
525+ that operation.
525526
526527 This process requires intuition and understanding of the problem. It is the
527528 least systematic part of the process. The following steps are much more
Original file line number Diff line number Diff line change 3939 'sphinxcontrib.blockdiag' ,
4040 'sphinx.ext.napoleon' ,
4141 'sphinx_panels' ,
42- 'sphinxcontrib.details.directive'
42+ 'sphinxcontrib.details.directive' ,
43+ 'sphinx_reredirects'
4344]
4445# Both the class’ and the __init__ method’s docstring are concatenated and
4546# inserted into the class definition
7879# for a list of supported languages.
7980# language = None
8081
82+ redirects = {
83+ "edition1/exercises" : "../exercises.html" ,
84+ "edition1/videos" : "../videos.html"
85+ }
86+
8187# There are two options for replacing |today|: either, you set today to some
8288# non-false value, then it is used:
8389# today = ''
246252%\hypersetup{urlcolor=externallinkcolor}
247253\hypersetup{urlcolor=black}
248254\usepackage{poptitle}
255+ \title{Object-oriented Programming}
249256\subtitle{in Python for Mathematicians}
250257\edition{2021}
251258\makeatletter
Original file line number Diff line number Diff line change 2828 .. image :: images/cover.png
2929 :width: 10em
3030 :align: right
31- :target: https://fixme.foo
31+ :target: https://www.amazon.co.uk/dp/B09NR9R9P3
3232
3333 The complete book text is available on this website. However, if you'd
3434 like to have a physical copy, then please `buy the book
35- <https://fixme.foo > `__.
35+ <https://www.amazon.co.uk/dp/B09NR9R9P3 > `__.
3636
3737.. container :: preface
3838
Original file line number Diff line number Diff line change 1- Subproject commit dd7dd29d5161b6b5ff640c4fa7b2a3aa958da10f
1+ Subproject commit 115ba35d46d528f2e15ef62a87b709ca7c17c269
You can’t perform that action at this time.
0 commit comments