From 422286c7e6bb02b482bd3f3d5aedd97045ea8976 Mon Sep 17 00:00:00 2001 From: Semyon Proshev Date: Wed, 13 Dec 2017 15:01:38 +0300 Subject: [PATCH] Enable `argparse` stubs (PY-26190, PY-24621) --- .../src/com/jetbrains/python/codeInsight/typing/PyTypeShed.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/codeInsight/typing/PyTypeShed.kt b/python/src/com/jetbrains/python/codeInsight/typing/PyTypeShed.kt index 56fb5472b64e..41e7c20471b9 100644 --- a/python/src/com/jetbrains/python/codeInsight/typing/PyTypeShed.kt +++ b/python/src/com/jetbrains/python/codeInsight/typing/PyTypeShed.kt @@ -41,7 +41,8 @@ import java.io.File object PyTypeShed { private val ONLY_SUPPORTED_PY2_MINOR = 7 private val SUPPORTED_PY3_MINORS = 2..7 - val WHITE_LIST = setOf(TYPING, "six", "__builtin__", "builtins", "exceptions", "types", "datetime", "functools", "shutil", "re", "time") + val WHITE_LIST = setOf(TYPING, "six", "__builtin__", "builtins", "exceptions", "types", "datetime", "functools", "shutil", "re", "time", + "argparse") private val BLACK_LIST = setOf() /**