XPost: comp.lang.python
On Tue, 20 Aug 2024 21:55:20 -0700, HenHanna wrote:
What's the name of the package (or style) that uses
lots of extra lines in Python programming?
it looks like this:
main()
{
int c; .......
}
like Begin-End of Algol, Pascal from 1960's and 1970's.
If it looks like that it's C not Python.
https://peps.python.org/pep-0008/#blank-lines
'black' is a formatter that will neaten up a file. 'ruff' does quite a bit
more but also can format. If you're stingy with whitespace either will add extra lines.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)