Browse Source

📝 Simplify intro to Python Types, all currently supported Python versions include type hints 🎉 (#2085)

pull/2102/head
Aaron Christianson 4 years ago
committed by GitHub
parent
commit
13d9de4a49
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/en/docs/python-types.md

4
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 <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.

Loading…
Cancel
Save