跳转到内容

阅读进度

章 标题 笔记 代码 测试
1 The Python Data Model ✅ ✅ ✅
2 An Array of Sequences ✅ ✅ ✅
3 Dictionaries and Sets — — —
4 Unicode Text versus Bytes — — —
5 Data Class Builders — — —
6 Object References, Mutability, and Recycling — — —
7 Functions as First-Class Objects — — —
8 Type Hints in Functions — — —
9 Decorators and Closures — — —
10 Design Patterns with First-Class Functions — — —
11 A Pythonic Object — — —
12 Special Methods for Sequences — — —
13 Interfaces, Protocols, and ABCs — — —
14 Inheritance: For Better or for Worse — — —
15 More About Type Hints — — —
16 Operator Overloading — — —
17 Iterators, Generators, and Classic Coroutines — — —
18 with, match, and else Blocks — — —
19 Concurrency Models in Python — — —
20 Concurrent Executors — — —
21 Asynchronous Programming — — —
22 Dynamic Attributes and Properties — — —
23 Attribute Descriptors — — —
24 Class Metaprogramming — — —
  1. 先说结论,原因往后放。
  2. 一段不超过 5 行,超了拆成列表。
  3. 术语第一次出现跟一句人话,比如「ob_size,也就是 C 结构体里存元素个数的那个字段」。
  4. 代码原样贴,不翻译变量名;解释写在代码块外面。
  5. 书里的原话和我的理解分开写,不混着冒充原文。