]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix typos in `docs/zh/docs/tutorial/extra-data-types.md` (#10727)
authorHiemalBeryl <63165207+HiemalBeryl@users.noreply.github.com>
Fri, 12 Jan 2024 11:13:04 +0000 (19:13 +0800)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2024 11:13:04 +0000 (12:13 +0100)
docs/zh/docs/tutorial/extra-data-types.md

index a74efa61be48cf913a77620b5593c672d0c3168a..f4a77050ca6e0d1eff7b81b35993498f4581d692 100644 (file)
         * 产生的模式将指定那些 `set` 的值是唯一的 (使用 JSON 模式的 `uniqueItems`)。
 * `bytes`:
     * 标准的 Python `bytes`。
-    * 在请求和应中被当作 `str` 处理。
+    * 在请求和应中被当作 `str` 处理。
     * 生成的模式将指定这个 `str` 是 `binary` "格式"。
 * `Decimal`:
     * 标准的 Python `Decimal`。
-    * 在请求和应中被当做 `float` 一样处理。
+    * 在请求和应中被当做 `float` 一样处理。
 * 您可以在这里检查所有有效的pydantic数据类型: <a href="https://pydantic-docs.helpmanual.io/usage/types" class="external-link" target="_blank">Pydantic data types</a>.
 
 ## 例子