int (@NotNull TypeEvalContext evalContext, PyClassType callType) { if (!callType.getPyClass().isSubclass(PyNames.TUPLE, evalContext)) { return 1; } else if (callType instanceof PyTupleType) { return ((PyTupleType)callType).getElementCount(); } return -1; }