From b2a691a69ad95ab84b2123ecb1b5c990047c5a39 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 19 Dec 2015 11:10:05 +0100 Subject: [PATCH] PEP 484 support also means that we should evaluate comments in the future. --- jedi/evaluate/pep0484.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jedi/evaluate/pep0484.py b/jedi/evaluate/pep0484.py index cb3e8a4c..2dde9793 100644 --- a/jedi/evaluate/pep0484.py +++ b/jedi/evaluate/pep0484.py @@ -14,6 +14,8 @@ v Assigned types: `Url = str\ndef get(url:Url) -> str:` x Type hints in `with` statements x Stub files support x support `@no_type_check` and `@no_type_check_decorator` +x support for type hint comments `# type: (int, str) -> int`. See comment from + Guido https://github.com/davidhalter/jedi/issues/662 """ from itertools import chain