提交 adaa2f96 编写于 作者: F feilong

fix python bug

上级 b8a05139
......@@ -7,229 +7,294 @@
"keywords": [],
"children": [
{
"继承": {
"类定义class": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-4-76"
}
},
{
"多重继承": {
"作用域和命名空间": {
"keywords": [],
"children": [],
"node_id": "python-5-1428"
"node_id": "python-4-77"
}
},
{
"方法解析顺序": {
"对象": {
"keywords": [],
"children": [],
"node_id": "python-5-1429"
"node_id": "python-4-78"
}
},
{
"使用super函数将控制权传递给其他类": {
"属性和方法": {
"keywords": [],
"children": [
{
"模拟数值类型": {
"keywords": [],
"children": [],
"node_id": "python-5-1430"
"node_id": "python-5-43"
}
},
{
"自省": {
"字符串表示形式": {
"keywords": [],
"children": [],
"node_id": "python-5-1431"
"node_id": "python-5-44"
}
},
{
"自定义的布尔值": {
"keywords": [],
"children": [],
"node_id": "python-5-45"
}
}
],
"node_id": "python-4-1435"
"node_id": "python-4-79"
}
},
{
"如何创建类": {
"类编码风格": {
"keywords": [],
"children": [],
"node_id": "python-4-80"
}
},
{
"初探类": {
"keywords": [],
"children": [
{
"在运行时创建类": {
"类定义语法": {
"keywords": [],
"children": [],
"node_id": "python-5-1432"
"node_id": "python-5-46"
}
},
{
"元类": {
"类对象": {
"keywords": [],
"children": [],
"node_id": "python-5-1433"
"node_id": "python-5-47"
}
},
{
"控制命名空间": {
"方法对象": {
"keywords": [],
"children": [],
"node_id": "python-5-1434"
"node_id": "python-5-48"
}
}
],
"node_id": "python-4-1436"
"node_id": "python-4-81"
}
},
{
"成员变量": {
"补充说明": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-4-82"
}
},
{
"属性": {
"私有变量": {
"keywords": [],
"children": [],
"node_id": "python-5-1435"
"node_id": "python-4-83"
}
},
{
"描述器": {
"生成器表达式": {
"keywords": [],
"children": [],
"node_id": "python-5-1436"
"node_id": "python-4-84"
}
},
{
"类到底是什么": {
"keywords": [],
"children": [],
"node_id": "python-4-85"
}
],
"node_id": "python-4-1437"
},
{
"创建自定义类": {
"keywords": [],
"children": [],
"node_id": "python-4-86"
}
},
{
"方法": {
"再谈隐藏": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-4-87"
}
},
{
"非绑定方法": {
"类的命名空间": {
"keywords": [],
"children": [],
"node_id": "python-5-1437"
"node_id": "python-4-88"
}
},
{
"绑定方法": {
"指定超类": {
"keywords": [],
"children": [],
"node_id": "python-5-1438"
"node_id": "python-4-89"
}
},
{
"深入探讨继承": {
"keywords": [],
"children": [],
"node_id": "python-4-90"
}
],
"node_id": "python-4-1438"
},
{
"多个超类": {
"keywords": [],
"children": [],
"node_id": "python-4-91"
}
},
{
"魔术方法": {
"接口和内省": {
"keywords": [],
"children": [
{
"处理成员变量": {
"Python文化中的接口和协议": {
"keywords": [],
"children": [],
"node_id": "python-5-1439"
"node_id": "python-5-49"
}
},
{
"字符串表示": {
"Python喜欢序列": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-5-50"
}
},
{
"字节字符串": {
"使用猴子补丁在运行时实现协议": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-5-51"
}
},
{
"借助chr和ord进行简单的转换": {
"Alex Martelli的水禽": {
"keywords": [],
"children": [],
"node_id": "python-7-34"
"node_id": "python-5-52"
}
},
{
"借助struct模块进行复杂的转换": {
"定义抽象基类的子类": {
"keywords": [],
"children": [],
"node_id": "python-7-35"
"node_id": "python-5-53"
}
},
{
"标准库中的抽象基类": {
"keywords": [],
"children": [],
"node_id": "python-5-54"
}
],
"node_id": "python-6-225"
},
{
"定义并使用一个抽象基类": {
"keywords": [],
"children": [],
"node_id": "python-5-55"
}
},
{
"文本": {
"Tombola子类的测试方法": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-5-56"
}
},
{
"Unicode": {
"Python使用register的方式": {
"keywords": [],
"children": [],
"node_id": "python-7-36"
"node_id": "python-5-57"
}
},
{
"编码": {
"鹅的行为有可能像鸭子": {
"keywords": [],
"children": [],
"node_id": "python-7-37"
"node_id": "python-5-58"
}
}
],
"node_id": "python-6-226"
"node_id": "python-4-92"
}
},
{
"简单的替换": {
"抽象基类": {
"keywords": [],
"children": [],
"node_id": "python-6-227"
"node_id": "python-4-93"
}
},
{
"格式化": {
"导入类": {
"keywords": [],
"children": [
{
"在对象中查找值": {
"导入单个类": {
"keywords": [],
"children": [],
"node_id": "python-7-38"
"node_id": "python-5-59"
}
},
{
"区分字符串类型": {
"在一个模块中存储多个类": {
"keywords": [],
"children": [],
"node_id": "python-7-39"
"node_id": "python-5-60"
}
},
{
"标准格式规范": {
"从一个模块中导入多个类": {
"keywords": [],
"children": [],
"node_id": "python-7-40"
"node_id": "python-5-61"
}
},
{
"为文本文档制作目录": {
"导入模块中的所有类": {
"keywords": [],
"children": [],
"node_id": "python-7-41"
"node_id": "python-5-62"
}
},
{
"自定义格式规范": {
"自定义工作流程": {
"keywords": [],
"children": [],
"node_id": "python-7-42"
"node_id": "python-5-63"
}
}
],
"node_id": "python-6-228"
"node_id": "python-4-94"
}
}
],
"node_id": "python-5-1440"
}
}
],
"node_id": "python-4-1439"
},
{
"Python标准库": {
"keywords": [],
"children": [],
"node_id": "python-4-95"
}
}
],
......
......@@ -1124,229 +1124,294 @@
"keywords": [],
"children": [
{
"继承": {
"类定义class": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-4-76"
}
},
{
"多重继承": {
"作用域和命名空间": {
"keywords": [],
"children": [],
"node_id": "python-5-1428"
"node_id": "python-4-77"
}
},
{
"方法解析顺序": {
"对象": {
"keywords": [],
"children": [],
"node_id": "python-5-1429"
"node_id": "python-4-78"
}
},
{
"使用super函数将控制权传递给其他类": {
"属性和方法": {
"keywords": [],
"children": [
{
"模拟数值类型": {
"keywords": [],
"children": [],
"node_id": "python-5-1430"
"node_id": "python-5-43"
}
},
{
"自省": {
"字符串表示形式": {
"keywords": [],
"children": [],
"node_id": "python-5-1431"
"node_id": "python-5-44"
}
},
{
"自定义的布尔值": {
"keywords": [],
"children": [],
"node_id": "python-5-45"
}
}
],
"node_id": "python-4-1435"
"node_id": "python-4-79"
}
},
{
"如何创建类": {
"类编码风格": {
"keywords": [],
"children": [],
"node_id": "python-4-80"
}
},
{
"初探类": {
"keywords": [],
"children": [
{
"在运行时创建类": {
"类定义语法": {
"keywords": [],
"children": [],
"node_id": "python-5-1432"
"node_id": "python-5-46"
}
},
{
"元类": {
"类对象": {
"keywords": [],
"children": [],
"node_id": "python-5-1433"
"node_id": "python-5-47"
}
},
{
"控制命名空间": {
"方法对象": {
"keywords": [],
"children": [],
"node_id": "python-5-1434"
"node_id": "python-5-48"
}
}
],
"node_id": "python-4-1436"
"node_id": "python-4-81"
}
},
{
"成员变量": {
"补充说明": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-4-82"
}
},
{
"属性": {
"私有变量": {
"keywords": [],
"children": [],
"node_id": "python-5-1435"
"node_id": "python-4-83"
}
},
{
"描述器": {
"生成器表达式": {
"keywords": [],
"children": [],
"node_id": "python-5-1436"
"node_id": "python-4-84"
}
},
{
"类到底是什么": {
"keywords": [],
"children": [],
"node_id": "python-4-85"
}
],
"node_id": "python-4-1437"
},
{
"创建自定义类": {
"keywords": [],
"children": [],
"node_id": "python-4-86"
}
},
{
"方法": {
"再谈隐藏": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-4-87"
}
},
{
"非绑定方法": {
"类的命名空间": {
"keywords": [],
"children": [],
"node_id": "python-5-1437"
"node_id": "python-4-88"
}
},
{
"绑定方法": {
"指定超类": {
"keywords": [],
"children": [],
"node_id": "python-5-1438"
"node_id": "python-4-89"
}
},
{
"深入探讨继承": {
"keywords": [],
"children": [],
"node_id": "python-4-90"
}
],
"node_id": "python-4-1438"
},
{
"多个超类": {
"keywords": [],
"children": [],
"node_id": "python-4-91"
}
},
{
"魔术方法": {
"接口和内省": {
"keywords": [],
"children": [
{
"处理成员变量": {
"Python文化中的接口和协议": {
"keywords": [],
"children": [],
"node_id": "python-5-1439"
"node_id": "python-5-49"
}
},
{
"字符串表示": {
"Python喜欢序列": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-5-50"
}
},
{
"字节字符串": {
"使用猴子补丁在运行时实现协议": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-5-51"
}
},
{
"借助chr和ord进行简单的转换": {
"Alex Martelli的水禽": {
"keywords": [],
"children": [],
"node_id": "python-7-34"
"node_id": "python-5-52"
}
},
{
"借助struct模块进行复杂的转换": {
"定义抽象基类的子类": {
"keywords": [],
"children": [],
"node_id": "python-7-35"
"node_id": "python-5-53"
}
},
{
"标准库中的抽象基类": {
"keywords": [],
"children": [],
"node_id": "python-5-54"
}
],
"node_id": "python-6-225"
},
{
"定义并使用一个抽象基类": {
"keywords": [],
"children": [],
"node_id": "python-5-55"
}
},
{
"文本": {
"Tombola子类的测试方法": {
"keywords": [],
"children": [
"children": [],
"node_id": "python-5-56"
}
},
{
"Unicode": {
"Python使用register的方式": {
"keywords": [],
"children": [],
"node_id": "python-7-36"
"node_id": "python-5-57"
}
},
{
"编码": {
"鹅的行为有可能像鸭子": {
"keywords": [],
"children": [],
"node_id": "python-7-37"
"node_id": "python-5-58"
}
}
],
"node_id": "python-6-226"
"node_id": "python-4-92"
}
},
{
"简单的替换": {
"抽象基类": {
"keywords": [],
"children": [],
"node_id": "python-6-227"
"node_id": "python-4-93"
}
},
{
"格式化": {
"导入类": {
"keywords": [],
"children": [
{
"在对象中查找值": {
"导入单个类": {
"keywords": [],
"children": [],
"node_id": "python-7-38"
"node_id": "python-5-59"
}
},
{
"区分字符串类型": {
"在一个模块中存储多个类": {
"keywords": [],
"children": [],
"node_id": "python-7-39"
"node_id": "python-5-60"
}
},
{
"标准格式规范": {
"从一个模块中导入多个类": {
"keywords": [],
"children": [],
"node_id": "python-7-40"
"node_id": "python-5-61"
}
},
{
"为文本文档制作目录": {
"导入模块中的所有类": {
"keywords": [],
"children": [],
"node_id": "python-7-41"
"node_id": "python-5-62"
}
},
{
"自定义格式规范": {
"自定义工作流程": {
"keywords": [],
"children": [],
"node_id": "python-7-42"
"node_id": "python-5-63"
}
}
],
"node_id": "python-6-228"
}
"node_id": "python-4-94"
}
],
"node_id": "python-5-1440"
}
}
],
"node_id": "python-4-1439"
},
{
"Python标准库": {
"keywords": [],
"children": [],
"node_id": "python-4-95"
}
}
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册