為什么我的pycharm寫set函數下面會劃線提醒有set literal方法可以代替呢,我不知道怎么用
Function call can be replaced with set literal less... (Ctrl+F1)?
This inspection detects call for function "set" which can be replaced with set literal.
Function call can be replaced with set literal less... (Ctrl+F1)?
This inspection detects call for function "set" which can be replaced with set literal.
2018-07-27
舉報
2019-03-19
看這個,最高贊的答案解釋得很清楚了。
https://stackoverflow.com/questions/36674083/why-is-it-possible-to-replace-sometimes-set-with
2018-07-27
https://www.cnblogs.com/kaituorensheng/p/6139573.html
你可以看一下這里面分析的