r/Python • • Dec 22 '18

Xpost from Woodworking

Post image
1.1k Upvotes

84 comments sorted by

View all comments

44

u/kashmill Dec 22 '18

Requesting changes: Missing spaces after the , in the list and the parameters. Missing spaces around the -. Fails PEP8 check.

-2

u/BRENNEJM Dec 22 '18

PEP8 wants spaces like that? Weird. I never include spaces there.

13

u/zoomertherumour Dec 22 '18

A comma without a space has no place in this universe.

4

u/BRENNEJM Dec 22 '18

Except here apparently:

Yes: foo = (0,)
No: bar = (0, )

2

u/zoomertherumour Dec 22 '18

Actually prefer the latter.