mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
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:
@@ -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),
|
(for Python < 3.5 you have to do ``pip install typing`` to use these),
|
||||||
and forward references.
|
and forward references.
|
||||||
|
|
||||||
Things that are missing (and this is not an exhaustive list; some of these
|
You can also use stub files.
|
||||||
are planned, others might be hard to implement and provide little worth):
|
|
||||||
|
|
||||||
- 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**
|
**Sphinx style**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user