Remove a paragraph in docs that was arguing that stubs and generics (and other things) were not properly supported, fixes #1012

This commit is contained in:
Dave Halter
2019-07-24 13:41:33 +02:00
parent 05d9602032
commit c7927fb141

View File

@@ -140,15 +140,8 @@ Most of the features in PEP-0484 are supported including the typing module
(for Python < 3.5 you have to do ``pip install typing`` to use these),
and forward references.
Things that are missing (and this is not an exhaustive list; some of these
are planned, others might be hard to implement and provide little worth):
You can also use stub files.
- annotating functions with comments: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code
- understanding ``typing.cast()``
- stub files: https://www.python.org/dev/peps/pep-0484/#stub-files
- ``typing.Callable``
- ``typing.TypeVar``
- User defined generic types: https://www.python.org/dev/peps/pep-0484/#user-defined-generic-types
**Sphinx style**