Recent Posts

Python: Referencing and assignment in inner functions

1 minute read

这一篇的内容在 Digest of Fluent Python: 7.4 Variable Scope Rules 和 Python: Variable scope in if-statement 都有讲到,但是 Effective Python 的 Item 15: Know How Closures Inte...

Python 3: Keyword-Only Arguments

less than 1 minute read

参 Effective Python Item 21: Enforce Clarity with Keyword-Only Arguments 和 PEP 3102 – Keyword-Only Arguments。

SemiBoost

5 minute read

The inconsistency among the unlabeled examples: