Is it possible to split on Python method chains as well?
For example:
s = "hello, how are you?"
s2 = s.replace("hello", "hi").replace("you", "we").title().lower().strip()
To become:
s = "hello, how are you?"
s2 = s.replace("hello", "hi") \
.replace("you", "we") \
.title() \
.lower() \
.strip()
Is it possible to split on Python method chains as well?
For example:
To become: