Correct way to put long function calls on multiple lines
Posted
by ensnare
on Stack Overflow
See other posts from Stack Overflow
or by ensnare
Published on 2010-03-31T04:07:44Z
Indexed on
2010/03/31
4:13 UTC
Read the original article
Hit count: 445
I have a long function, as seen below:
hash_correct = hashlib.md5(salt + password)).digest().encode("base64")
I'd like to split it up into two lines but am not sure of the correct way to do this in Python?
Thanks.
© Stack Overflow or respective owner