How to disassembly an object creation in Python?
- by systempuntoout
Having a class like this:
class Spam(object):
def __init__(self, name=''):
self.name = name
eggs = Spam('systempuntoout')
Using dis, is it possible to see how an instance of a class and the rispective identity are created?