From: Atiab Bin Zakaria <61742543+atiabbz@users.noreply.github.com> Date: Thu, 18 Aug 2022 15:59:50 +0000 (+0800) Subject: ✏ Fix typo in `docs/en/docs/python-types.md` (#5007) X-Git-Tag: 0.79.1~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b862639ce9eebcd113d0d16806c3f63a036bdd34;p=thirdparty%2Ffastapi%2Ffastapi.git ✏ Fix typo in `docs/en/docs/python-types.md` (#5007) --- diff --git a/docs/en/docs/python-types.md b/docs/en/docs/python-types.md index 963fcaf1cd..f170bb1ef4 100644 --- a/docs/en/docs/python-types.md +++ b/docs/en/docs/python-types.md @@ -267,7 +267,7 @@ You can declare that a variable can be any of **several types**, for example, an In Python 3.6 and above (including Python 3.10) you can use the `Union` type from `typing` and put inside the square brackets the possible types to accept. -In Python 3.10 there's also an **alternative syntax** were you can put the possible types separated by a vertical bar (`|`). +In Python 3.10 there's also an **alternative syntax** where you can put the possible types separated by a vertical bar (`|`). === "Python 3.6 and above"