class Point:
    def __init__(self):
       print('in __init__')
       print(self)

pnt = Point()
print(pnt)

# in __init__
# <__main__.Point object at 0x7ff3f45821c0>
# <__main__.Point object at 0x7ff3f45821c0>

