Skip to content

Commit

Permalink
✏ Fix typo in docs/en/docs/python-types.md (tiangolo#5007)
Browse files Browse the repository at this point in the history
  • Loading branch information
atiabbz authored and JeanArhancet committed Aug 20, 2022
1 parent 83462e6 commit 4e8195b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/docs/python-types.md
Expand Up @@ -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 <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</abbr>.
In Python 3.10 there's also an **alternative syntax** where you can put the possible types separated by a <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</abbr>.

=== "Python 3.6 and above"

Expand Down

0 comments on commit 4e8195b

Please sign in to comment.