PyTupleType (@NotNull PsiElement anchor, @Nullable PyType elementType) { final PyClass tuple = PyBuiltinCache.getInstance(anchor).getClass(PyNames.TUPLE); if (tuple != null) { return new PyTupleType(tuple, Collections.singletonList(elementType), true); } return null; }