Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [15]: class A:
- ...: def __matmul__(self,b):
- ...: print(self, b)
- ...:
- In [16]: a = A()
- In [17]: a @ a
- <__main__.A object at 0x7f6bd0e44780> <__main__.A object at 0x7f6bd0e44780>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement