Warning on using map function with more than 2 parameters in python. (warning pycharm)

Viewed 107

I encounter strange warnings when I use the map function with more than two parameters on the Phycharm IDE (2017.2.4). As we can see on the picture below, I have warnings saying the arguments passed are incorrect...here

Note: The mapping given is a simple example to show my problem.

Nevertheless I thing that the formulation of my mapping is correct

list(map(lambda x, y, z: x + y + z, [1,1],[2,2],[3,3]))

I also tried to defined the lambda form with a def but I have the same results...

Note that the code compiles and gives correct results. But what is the meaning of warnings in this case.

Thanks in advance for your answers

0 Answers
Related