private IPythonType CreateValuesViewType(IReadOnlyList <IPythonType> typeArgs)
 {
     if (typeArgs.Count == 1)
     {
         return(TypingTypeFactory.CreateValuesViewType(Interpreter, typeArgs[0]));
     }
     // TODO: report wrong number of arguments
     return(Interpreter.UnknownType);
 }
 private IPythonType CreateValuesViewType(IReadOnlyList <IPythonType> typeArgs)
 {
     if (typeArgs.Count == 1)
     {
         // If argument is generic type parameter then this is still a generic specification
         return(typeArgs[0] is IGenericTypeParameter
             ? ToGenericTemplate("ValuesView", typeArgs, BuiltinTypeId.ListIterator)
             : TypingTypeFactory.CreateValuesViewType(Interpreter, typeArgs[0]));
     }
     // TODO: report wrong number of arguments
     return(Interpreter.UnknownType);
 }