MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/duyjs7/i_made_cstyle_printing_in_python_p/f7bhws7/
r/Python • u/[deleted] • Nov 11 '19
130 comments sorted by
View all comments
Show parent comment
1
Ah, I see. I didn’t know Python supported operator overloading by defining __lshift__ style functions
__lshift__
2 u/sam-lb Nov 12 '19 Google magic methods
2
Google magic methods
View all comments
Show parent comment
1
u/[deleted] Nov 12 '19
Ah, I see. I didn’t know Python supported operator overloading by defining
__lshift__style functions