I review the code and see these method declarations:
def __init__(self,data):
I always thought that it should be formatted as follows:
def __init__(self, data):
But then I checked PEP 0008 and I donβt see the exact statement about it. There is guidance on spaces around operators and inside parentheses, but not about a comma-separated list.
If this is not described in PEP8, is there perhaps some unwritten convention about this? Why was I convinced it was in PEP8? Shoud PEP8 will be updated?
python coding-style pep8
Bunyk
source share