How to Disassemble an object creation in Python?
Posted
by systempuntoout
on Stack Overflow
See other posts from Stack Overflow
or by systempuntoout
Published on 2010-04-23T09:06:01Z
Indexed on
2010/04/23
20:53 UTC
Read the original article
Hit count: 283
python
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 respective hex Identity are created?
© Stack Overflow or respective owner