| |
| Page 88, Second Code Example |
|
|
The call to the function, funcb() should include the argument value. The full example should read:
def funca():
value=59
funcb(value)
def funcb(value):
print(value*2)
|
|
| Page 93, First Code Example |
|
|
We should be iterating over items rather than list to achieve what we want, so the code should read:
def multi_insert(list, *items):
for item in items:
list.append(item)
|
|
| Page 359, Second Example and following text |
|
|
The code example given shows how to bind the pressing of the 'z' key to a function:
widget.bind("",pressed_z)
However, the explanatory text describes the CTRL key. The following paragraph should read:
maps the user pressing the z key (note lowercase), without any modifier, to the pressed_z method. Other possible values for event are:...
|
|
| Page 371, Table 15-6 |
|
|
I make a reference to Perl in the first row of the table, when of course we are talking about Python.
|
|
|
|