]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Simplify intro to Python Types, all currently supported Python versions include...
authorAaron Christianson <ninjaaron@gmail.com>
Thu, 5 Nov 2020 21:53:44 +0000 (22:53 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 21:53:44 +0000 (22:53 +0100)
docs/en/docs/python-types.md

index d938de666996e230dde1b1b3e20d03186e31b186..9bbf955b97d27d7686a7583d355da011d5ef8d06 100644 (file)
@@ -1,8 +1,8 @@
 # Python Types Intro
 
-**Python 3.6+** has support for optional "type hints".
+Python has support for optional "type hints".
 
-These **"type hints"** are a new syntax (since Python 3.6+) that allow declaring the <abbr title="for example: str, int, float, bool">type</abbr> of a variable.
+These **"type hints"** are a special syntax that allow declaring the <abbr title="for example: str, int, float, bool">type</abbr> of a variable.
 
 By declaring types for your variables, editors and tools can give you better support.