diff --git a/docs/zh/docs/advanced/security/http-basic-auth.md b/docs/zh/docs/advanced/security/http-basic-auth.md index 70e2059681..ab8961e7cf 100644 --- a/docs/zh/docs/advanced/security/http-basic-auth.md +++ b/docs/zh/docs/advanced/security/http-basic-auth.md @@ -35,7 +35,7 @@ HTTP 基础授权让浏览器显示内置的用户名与密码提示。 === "Python 3.8+ non-Annotated" !!! tip - Prefer to use the `Annotated` version if possible. + 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="2 6 10" {!> ../../../docs_src/security/tutorial006.py!} @@ -74,7 +74,7 @@ HTTP 基础授权让浏览器显示内置的用户名与密码提示。 === "Python 3.8+ non-Annotated" !!! tip - Prefer to use the `Annotated` version if possible. + 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="1 11-21" {!> ../../../docs_src/security/tutorial007.py!} @@ -156,7 +156,7 @@ if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish": === "Python 3.8+ non-Annotated" !!! tip - Prefer to use the `Annotated` version if possible. + 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="23-27" {!> ../../../docs_src/security/tutorial007.py!}