python 保留的類標識符

1._*:The special identifier _ is used in the interactive interpreter to store the result of the last evaluation; it is stored in the builtins module. When not in interactive mode, _ has no special meaning and is not defined
2.__*__系統定義的名稱,
3.__*類的私有屬性和方法

參考:
https://docs.python.org/3/reference/lexical_analysis.html#reserved-classes-of-identifiers

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章