From a0b20062306f4e76bea520623782975b1bfba831 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Fri, 2 Jul 2021 22:02:45 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Fix=20Chinese=20translation=20co?= =?UTF-8?q?de=20snippet=20mismatch=20in=20Tutorial=20-=20Python=20Types=20?= =?UTF-8?q?Intro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh/docs/python-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh/docs/python-types.md b/docs/zh/docs/python-types.md index e8c07f4c3..67a1612f0 100644 --- a/docs/zh/docs/python-types.md +++ b/docs/zh/docs/python-types.md @@ -222,13 +222,13 @@ John Doe 假设你有一个名为 `Person` 的类,拥有 name 属性: ```Python hl_lines="1-3" -{!../../../docs_src/python_types/tutorial009.py!} +{!../../../docs_src/python_types/tutorial010.py!} ``` 接下来,你可以将一个变量声明为 `Person` 类型: ```Python hl_lines="6" -{!../../../docs_src/python_types/tutorial009.py!} +{!../../../docs_src/python_types/tutorial010.py!} ``` 然后,你将再次获得所有的编辑器支持: