From c7927fb1414aabdfa04f30219c3745a1eaaff8d5 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 24 Jul 2019 13:41:33 +0200 Subject: [PATCH] Remove a paragraph in docs that was arguing that stubs and generics (and other things) were not properly supported, fixes #1012 --- docs/docs/features.rst | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/docs/features.rst b/docs/docs/features.rst index 63f172d4..d393175d 100644 --- a/docs/docs/features.rst +++ b/docs/docs/features.rst @@ -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**