diff --git a/python/resources/tips/TypeHinting.html b/python/resources/tips/TypeHinting.html new file mode 100644 index 000000000000..ccadcdbf60e7 --- /dev/null +++ b/python/resources/tips/TypeHinting.html @@ -0,0 +1,13 @@ + + + + + +

Use type hinting to inform PyCharm about +the expected types of parameters, local variables, fields, or return values.

+

When the expected type is specified as a docstring, PyCharm provides code completion +that suggests elements of the corresponding type:

+

+

+ + diff --git a/python/resources/tips/images/type_hinting_return.png b/python/resources/tips/images/type_hinting_return.png new file mode 100644 index 000000000000..d49d42cc5c6a Binary files /dev/null and b/python/resources/tips/images/type_hinting_return.png differ