Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by fragmede on Friday January 07, 2022 @01:26PM
(#29842753)
Use \
[ Parent
| on HN ]
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by BeetleB on Friday January 07, 2022 @02:37PM
(#29843671)
The use of \ is discouraged in Python. From PEP8:
> The preferred way of wrapping long lines is by using Python's implied line continuation inside parentheses, brackets and braces. Long lines can be broken over multiple lines by wrapping expressions in parentheses. These should be used in preference to using a backslash for line continuation.
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by contravariant on Friday January 07, 2022 @07:29PM
(#29847078)
See I knew Python just wants to be more like lisp.