- 论坛徽章:
- 0
|
书中出现的代码错误,大多数属于拼写错误,有一些事建议
---------------------------------------------------------------------------------------------------------------
P116 最下面代码片段第8行 [错误]
{{elif k2==0:}}is even
Modified:
{{elif k%2==0:}}is even
----------------------------------------------------------------------------------------------------------------
P154 上面的代码片段 其中有3处[错误]
from
Modified:
for
-----------------------------------------------------------------------------------------------------------------
P173 代码片段第10行: [错误]
form.vars.image_filename=request.vars.image.filename
Modified:
form.vars.image_filename=request.vars.image_filename
-----------------------------------------------------------------------------------------------------------------
P183 最下面一行 [错误]
Print db.atable.formatter(rows[0].birth)
Modified:
Print db.atable.birth.formatter(rows[0].birth)
------------------------------------------------------------------------------------------------------------------
P198 页面上部的代码片段第7行 [建议]
Return "".join(DIV(k, _onclick="$('#month').attr('value','%s')"%k
Modified:
Return "".join(DIV(k, _onclick="$('#month').attr('value','%s');$('#suggestions').hide();"%k
-------------------------------------------------------------------------------------------------------------------
[ 本帖最后由 印随 于 2009-6-11 17:17 编辑 ] |
|