Generally, double leading underscores should be used only to avoid name conflicts with attributes in classes designed to be subclassed.

  • 通常,双前导下划线应该只用来避免与类(为可以子类化所设计)中的属性发生名字冲突。
目录 查词历史