From: Aaron Christianson Date: Thu, 5 Nov 2020 21:53:44 +0000 (+0100) Subject: 📝 Simplify intro to Python Types, all currently supported Python versions include... X-Git-Tag: 0.61.2~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13d9de4a494769fa381574a3b66e7562fab84dbf;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Simplify intro to Python Types, all currently supported Python versions include type hints 🎉 (#2085) --- diff --git a/docs/en/docs/python-types.md b/docs/en/docs/python-types.md index d938de6669..9bbf955b97 100644 --- a/docs/en/docs/python-types.md +++ b/docs/en/docs/python-types.md @@ -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 type of a variable. +These **"type hints"** are a special syntax that allow declaring the type of a variable. By declaring types for your variables, editors and tools can give you better support.