From 04bf66e45076a15a5cea079d74964585ecaaba59 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Mon, 11 Sep 2017 14:11:05 +0300 Subject: [PATCH] sometimes tuple is just tuple PY-18357 --- .../jetbrains/numpy/codeInsight/NumpyDocStringTypeProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/numpy/codeInsight/NumpyDocStringTypeProvider.java b/python/src/com/jetbrains/numpy/codeInsight/NumpyDocStringTypeProvider.java index a986f9800146..92be98c33c53 100644 --- a/python/src/com/jetbrains/numpy/codeInsight/NumpyDocStringTypeProvider.java +++ b/python/src/com/jetbrains/numpy/codeInsight/NumpyDocStringTypeProvider.java @@ -95,7 +95,7 @@ public class NumpyDocStringTypeProvider extends PyTypeProviderBase { NUMPY_ALIAS_TO_REAL_TYPE.put("sequence", "collections.Iterable"); NUMPY_ALIAS_TO_REAL_TYPE.put("set", "collections.Iterable"); NUMPY_ALIAS_TO_REAL_TYPE.put("list", "collections.Iterable"); - NUMPY_ALIAS_TO_REAL_TYPE.put("tuple", "collections.Iterable"); + NUMPY_ALIAS_TO_REAL_TYPE.put("tuple", "collections.Iterable or tuple"); NUMPY_ALIAS_TO_REAL_TYPE.put("ints", "int"); NUMPY_ALIAS_TO_REAL_TYPE.put("non-zero int", "int");