Skip to content

Instantly share code, notes, and snippets.

@firefirer1983
Created June 20, 2020 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save firefirer1983/33f755580a38a9168847a65b7e62bd6a to your computer and use it in GitHub Desktop.
Save firefirer1983/33f755580a38a9168847a65b7e62bd6a to your computer and use it in GitHub Desktop.
Effective Python

流畅的Python

魔法方法

不管在哪种框架下写程序,都会花费大量时间去实现那些会被框架本身调用的方法, Python 也不例外。Python 解释器碰到特殊的句法时,会使用特殊方法去激活一些基本的对象操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment