Probably false type-warning when calling min on enumerate with key function

前端 未结 0 985
[愿得一人]
[愿得一人] 2021-01-18 20:09

I have what I think is a false warning for the following (simplified) code:

    import random

    def by_value(tup: Tuple[int, int]):
        _, val = tup
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题