r/Python • • Nov 11 '19

I made c++-style printing in Python :P

Post image
1.7k Upvotes

130 comments sorted by

View all comments

7

u/[deleted] Nov 11 '19

Interesting , what's the mechanism of this working? What do the << and >> operators do for Python?

0

u/[deleted] Nov 11 '19

[deleted]

8

u/mooburger resembles an abstract syntax tree Nov 11 '19

except in this case where it's been overridden.