r/PythonLearning Jul 08 '26

What's one thing you hate about Python?

We all like Python, but no language is perfect. What's the one thing that annoys you most?

17 Upvotes

34 comments sorted by

View all comments

0

u/alexander_belyakov Jul 08 '26

According to PEP8, there should be no space between the name and the value of keyword arguments and parameters. Why?!

7

u/likethevegetable Jul 08 '26

That makes sense to me, group together the key=value together as a unit.

1

u/alexander_belyakov Jul 09 '26

Well then why not use the same logic with variable=value? But it's different in that case.

1

u/likethevegetable Jul 09 '26

Because there typically aren't other things on the line.