{ "export": [ "singleton.json" ], "keywords": [], "children": [ { "继承": { "keywords": [], "children": [ { "多重继承": { "keywords": [], "children": [], "node_id": "python-5-1428" } }, { "方法解析顺序": { "keywords": [], "children": [], "node_id": "python-5-1429" } }, { "使用super函数将控制权传递给其他类": { "keywords": [], "children": [], "node_id": "python-5-1430" } }, { "自省": { "keywords": [], "children": [], "node_id": "python-5-1431" } } ], "node_id": "python-4-1435" } }, { "如何创建类": { "keywords": [], "children": [ { "在运行时创建类": { "keywords": [], "children": [], "node_id": "python-5-1432" } }, { "元类": { "keywords": [], "children": [], "node_id": "python-5-1433" } }, { "控制命名空间": { "keywords": [], "children": [], "node_id": "python-5-1434" } } ], "node_id": "python-4-1436" } }, { "成员变量": { "keywords": [], "children": [ { "属性": { "keywords": [], "children": [], "node_id": "python-5-1435" } }, { "描述器": { "keywords": [], "children": [], "node_id": "python-5-1436" } } ], "node_id": "python-4-1437" } }, { "方法": { "keywords": [], "children": [ { "非绑定方法": { "keywords": [], "children": [], "node_id": "python-5-1437" } }, { "绑定方法": { "keywords": [], "children": [], "node_id": "python-5-1438" } } ], "node_id": "python-4-1438" } }, { "魔术方法": { "keywords": [], "children": [ { "处理成员变量": { "keywords": [], "children": [], "node_id": "python-5-1439" } }, { "字符串表示": { "keywords": [], "children": [ { "字节字符串": { "keywords": [], "children": [ { "借助chr和ord进行简单的转换": { "keywords": [], "children": [], "node_id": "python-7-34" } }, { "借助struct模块进行复杂的转换": { "keywords": [], "children": [], "node_id": "python-7-35" } } ], "node_id": "python-6-225" } }, { "文本": { "keywords": [], "children": [ { "Unicode": { "keywords": [], "children": [], "node_id": "python-7-36" } }, { "编码": { "keywords": [], "children": [], "node_id": "python-7-37" } } ], "node_id": "python-6-226" } }, { "简单的替换": { "keywords": [], "children": [], "node_id": "python-6-227" } }, { "格式化": { "keywords": [], "children": [ { "在对象中查找值": { "keywords": [], "children": [], "node_id": "python-7-38" } }, { "区分字符串类型": { "keywords": [], "children": [], "node_id": "python-7-39" } }, { "标准格式规范": { "keywords": [], "children": [], "node_id": "python-7-40" } }, { "为文本文档制作目录": { "keywords": [], "children": [], "node_id": "python-7-41" } }, { "自定义格式规范": { "keywords": [], "children": [], "node_id": "python-7-42" } } ], "node_id": "python-6-228" } } ], "node_id": "python-5-1440" } } ], "node_id": "python-4-1439" } } ], "node_id": "python-3-258" }