{"version":1,"pages":[{"id":"-LkymZbRcChbllI7XJZu","title":"简介","pathname":"/interpy-zh","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymch5zdgsb82fzJyH","title":"序","pathname":"/interpy-zh/introduction","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymch6ZLgv_cscMVVr","title":"译后感","pathname":"/interpy-zh/translator","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymch7grYF5NJ2UQJi","title":"原作者前言","pathname":"/interpy-zh/author","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymch803yRML4l3coM","title":"args 和 *kwargs","pathname":"/interpy-zh/args_kwargs","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymch9KpHiyEgal_M_","title":"*args 的用法","pathname":"/interpy-zh/args_kwargs/usage_args","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"args 和 *kwargs"}]},{"id":"-LkymchA0DRtAOoDvlZS","title":"**kwargs 的用法","pathname":"/interpy-zh/args_kwargs/usage_kwargs","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"args 和 *kwargs"}]},{"id":"-LkymchBoPiUwGBUNedq","title":"使用 args 和 *kwargs 来调用函数","pathname":"/interpy-zh/args_kwargs/using_args_and_kwargs_to_call_function","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"args 和 *kwargs"}]},{"id":"-LkymchCl6TqrDIR1s5N","title":"啥时候使用它们","pathname":"/interpy-zh/args_kwargs/when_to_use","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"args 和 *kwargs"}]},{"id":"-LkymchDhx7uyoFpLgE6","title":"调试 Debugging","pathname":"/interpy-zh/debugging","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchEuDWjYTAPcxDe","title":"生成器 Generators","pathname":"/interpy-zh/generators","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchF6oZEgftLpt3S","title":"可迭代对象(Iterable)","pathname":"/interpy-zh/generators/iterable","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"生成器 Generators"}]},{"id":"-LkymchGOhKVub6FRJK_","title":"迭代器(Iterator)","pathname":"/interpy-zh/generators/iterator","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"生成器 Generators"}]},{"id":"-LkymchHUBM3tJIH4lLa","title":"迭代(Iteration)","pathname":"/interpy-zh/generators/iteration","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"生成器 Generators"}]},{"id":"-LkymchIXDWBqQ9TvHWk","title":"生成器(Generators)","pathname":"/interpy-zh/generators/generators","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"生成器 Generators"}]},{"id":"-LkymchJonCG69NHBXbO","title":"Map，Filter 和 Reduce","pathname":"/interpy-zh/map_n_filter","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchKKqrIZGNHI5oy","title":"Map","pathname":"/interpy-zh/map_n_filter/map","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"Map，Filter 和 Reduce"}]},{"id":"-LkymchLeZL3G6lkL4t5","title":"Filter","pathname":"/interpy-zh/map_n_filter/filter","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"Map，Filter 和 Reduce"}]},{"id":"-LkymchMukBxOW05Zjg-","title":"Reduce","pathname":"/interpy-zh/map_n_filter/reduce","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"Map，Filter 和 Reduce"}]},{"id":"-LkymchNOK5On-BpEuYP","title":"set 数据结构","pathname":"/interpy-zh/set_data_structure","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchOHF3s9X7sUnNN","title":"三元运算符","pathname":"/interpy-zh/ternary_operators","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchPKvS8CbPuKG1m","title":"装饰器","pathname":"/interpy-zh/decorators","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchQ-zay7V25q1m7","title":"一切皆对象","pathname":"/interpy-zh/decorators/everything_is_object","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"}]},{"id":"-LkymchRujQqKHYulEg6","title":"在函数中定义函数","pathname":"/interpy-zh/decorators/def_func_in_func","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"}]},{"id":"-LkymchSaOl9dyLCVx9v","title":"从函数中返回函数","pathname":"/interpy-zh/decorators/return_func_in_func","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"}]},{"id":"-LkymchTjEaKEG0HrXNx","title":"将函数作为参数传给另一个函数","pathname":"/interpy-zh/decorators/func_as_argument","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"}]},{"id":"-LkymchUG4AgStSLwEFG","title":"你的第一个装饰器","pathname":"/interpy-zh/decorators/your_first_decorator","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"}]},{"id":"-LkymchVgWbIcu1Cwjs6","title":"使用场景","pathname":"/interpy-zh/decorators/your_first_decorator/use_cases","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"},{"label":"你的第一个装饰器"}]},{"id":"-LkymchWvFwa2rte9Bq3","title":"授权","pathname":"/interpy-zh/decorators/your_first_decorator/auth","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"},{"label":"你的第一个装饰器"}]},{"id":"-LkymchXJjFeGjZ_Ss9B","title":"日志","pathname":"/interpy-zh/decorators/your_first_decorator/logging","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"},{"label":"你的第一个装饰器"}]},{"id":"-LkymchYEtILWWL1GOAf","title":"带参数的装饰器","pathname":"/interpy-zh/decorators/deco_with_args","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"}]},{"id":"-LkymchZra_d_vH7Zx9K","title":"在函数中嵌入装饰器","pathname":"/interpy-zh/decorators/deco_with_args/nest_deco_in_func","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"},{"label":"带参数的装饰器"}]},{"id":"-Lkymch_jZhRSIkT4N0-","title":"装饰器类","pathname":"/interpy-zh/decorators/deco_with_args/deco_class","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"装饰器"},{"label":"带参数的装饰器"}]},{"id":"-LkymchamOrzA7LiZIxl","title":"Global和Return","pathname":"/interpy-zh/global_return","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymchbr1mdRRSoMEj1","title":"多个return值","pathname":"/interpy-zh/global_return/multiple_return_values","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"Global和Return"}]},{"id":"-LkymchcQwyQsyjYeaNT","title":"对象变动 Mutation","pathname":"/interpy-zh/mutation","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchdBfvOmzxY4rdE","title":"slots魔法","pathname":"/interpy-zh/slots_magic","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymcheK-6k6JBHR9Wd","title":"虚拟环境 Virtualenv","pathname":"/interpy-zh/virtual_environment","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchfS2IvWYkuHYHw","title":"容器 Collections","pathname":"/interpy-zh/collections","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymchg3wbyCTkL3ejC","title":"枚举 Enumerate","pathname":"/interpy-zh/enumerate","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymchhcc5i-9gKDQFE","title":"对象自省","pathname":"/interpy-zh/introspection","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchikW2X8BWlqBm3","title":"dir","pathname":"/interpy-zh/introspection/dir","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"对象自省"}]},{"id":"-LkymchjWUo9JBatsfEy","title":"type和id","pathname":"/interpy-zh/introspection/type_and_id","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"对象自省"}]},{"id":"-Lkymchkof-cWj_giukN","title":"inspect模块","pathname":"/interpy-zh/introspection/inspect","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"对象自省"}]},{"id":"-LkymchlO2rSwp_AQPmw","title":"推导式 Comprehension","pathname":"/interpy-zh/comprehensions","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchmLF4U0FTvN7Uw","title":"列表推导式","pathname":"/interpy-zh/comprehensions/list-comprehensions","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"推导式 Comprehension"}]},{"id":"-LkymchnvMOgeQ3-Oc_Y","title":"字典推导式","pathname":"/interpy-zh/comprehensions/dict-comprehensions","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"推导式 Comprehension"}]},{"id":"-Lkymchoq6OKeJb4AJYB","title":"集合推导式","pathname":"/interpy-zh/comprehensions/set-comprehensions","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"推导式 Comprehension"}]},{"id":"-LkymchpEM9SiRjvLNH2","title":"异常","pathname":"/interpy-zh/exception","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymchq2q9gUYW3-9JH","title":"处理多个异常","pathname":"/interpy-zh/exception/multiple_exception","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"异常"}]},{"id":"-LkymchrM4wn2jkqmSL4","title":"finally从句","pathname":"/interpy-zh/exception/multiple_exception/finally_clause","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"异常"},{"label":"处理多个异常"}]},{"id":"-Lkymchs_ecua4Wm9mLU","title":"try/else从句","pathname":"/interpy-zh/exception/multiple_exception/try_else_clause","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"异常"},{"label":"处理多个异常"}]},{"id":"-MhCxncEyRyGtYMFkd2s","title":"类","pathname":"/interpy-zh/classes","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchtpjkIPhE2HHzt","title":"lambda表达式","pathname":"/interpy-zh/lambdas","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchuBKMOxx2EaNYn","title":"一行式","pathname":"/interpy-zh/onelines","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymchv6glHo5QPALAq","title":"For - Else","pathname":"/interpy-zh/for_else","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymchwEGd3wPHjMNh5","title":"else语句","pathname":"/interpy-zh/for_else/else_clause","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"For - Else"}]},{"id":"-Lkymchx-7JE0ac_H6fM","title":"使用C扩展","pathname":"/interpy-zh/c_extensions","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymchy4LuYIvX_uTYZ","title":"CTypes","pathname":"/interpy-zh/c_extensions/ctypes","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"使用C扩展"}]},{"id":"-LkymchzSqDrDrCcCf1R","title":"SWIG","pathname":"/interpy-zh/c_extensions/swig","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"使用C扩展"}]},{"id":"-Lkymci-CbrZ_JI1ujE1","title":"Python/C API","pathname":"/interpy-zh/c_extensions/python_c_api","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"使用C扩展"}]},{"id":"-Lkymci0UqaCwfi-y237","title":"open函数","pathname":"/interpy-zh/open_func","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymci19d9OGiGdkwVE","title":"目标Python2+3","pathname":"/interpy-zh/targetingpython2+3","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymci2xCZknLleJGlz","title":"协程","pathname":"/interpy-zh/coroutines","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymci3uBryxvGrw0BE","title":"函数缓存","pathname":"/interpy-zh/func_caching","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymci4hDSGHPBiVizp","title":"Python 3.2+","pathname":"/interpy-zh/func_caching/python_32","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"函数缓存"}]},{"id":"-Lkymci5u6lgXmkBPU96","title":"Python 2+","pathname":"/interpy-zh/func_caching/python_2","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"函数缓存"}]},{"id":"-Lkymci6vOQ6N4F4v-T6","title":"上下文管理器","pathname":"/interpy-zh/context_managers","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-Lkymci7tMjoa5innP4X","title":"基于类的实现","pathname":"/interpy-zh/context_managers/implement_as_class","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"上下文管理器"}]},{"id":"-Lkymci8yhHj9_w5EJrq","title":"处理异常","pathname":"/interpy-zh/context_managers/handle_exception","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"上下文管理器"}]},{"id":"-Lkymci9YXVY7MV4KIO1","title":"基于生成器的实现","pathname":"/interpy-zh/context_managers/implement_as_generator","siteSpaceId":"sitesp_KVHgj","description":"","breadcrumbs":[{"label":"上下文管理器"}]},{"id":"-LkymciAM0Z50lyPir2B","title":"推荐阅读","pathname":"/interpy-zh/seealso","siteSpaceId":"sitesp_KVHgj","description":""},{"id":"-LkymciB4T55HrlYgH5T","title":"捐赠名单","pathname":"/interpy-zh/donors","siteSpaceId":"sitesp_KVHgj","description":""}]}