Skip to content

Commit aa1c7a6

Browse files
committed
Update
1 parent 1e3e22e commit aa1c7a6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@
104104
* 常用技巧
105105
* 1 - 使用元组改善分支代码
106106
* 2 - 在更多地方使用动态解包
107-
* 3 - 最好不用“获取许可”,也无需“要求原谅”
108-
* 4 - 使用 next() 函数
109-
* 5 - 使用有序字典来去重
107+
* 3 - 使用 next() 函数
108+
* 4 - 使用有序字典来去重
110109
* 常见误区
111110
* 1 - 当心那些已经枯竭的迭代器
112111
* 2 - 别在循环体内修改被迭代对象

zh_CN/15-thinking-in-edge-cases.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,5 +469,7 @@ while True:
469469
系列其他文章:
470470

471471
- [所有文章索引 [Github]](https://github.com/piglei/one-python-craftsman)
472+
- [Python 工匠:写好面向对象代码的原则(上)](https://www.zlovezl.cn/articles/write-solid-python-codes-part-1/)
473+
- [Python 工匠:让函数返回结果的技巧](https://www.zlovezl.cn/articles/function-returning-tips/)
472474

473475

0 commit comments

Comments
 (0)