-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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()
Metadata
Metadata
Assignees
Labels
No labels