PEP8 update: using typing.TypeVar before function defenition
26 Jul
2020
26 Jul
'20
10:38 p.m.
Hello! According to PEP8, there should be 2 blank lines before the function definition. But, I think in case of defining new typing.TypeVar, that will be used only in one function definition, it would be better to put it right before the function definition, i.e. with no blank lines. So I suggest to update PEP8, so it'd recommend skipping blank lines in this case. Thank you for your attention and sorry for my bad English. Sincerely yours, Nikita Serba.
1369
Age (days ago)
1369
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikita Serba