Define functions with too many arguments to abide by PEP8 standard

前端 未结 7 639
日久生厌
日久生厌 2021-02-01 00:12

I have defined a function with a long list of arguments. The total characters in definition is above 80 and doesn\'t abide by PEP8.

def my_function(argument_one,         


        
7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 00:45

    def my_function(argument_one, argument_two, argument_three, 
                    argument_four, argument_five):
    

提交回复
热议问题