PEP8 update: using typing.TypeVar before function defenition

July 26, 2020
3: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.
1697
Age (days ago)
1697
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikita Serba