method: code.ExceptionInfo.__init__

*Not documented*
    def __init__(self, tup=None, exprinfo=None):

origin: code.ExceptionInfo

where:

changes in __dict__ after execution:

function source:

def __init__(self, tup=None, exprinfo=None):
    # NB. all attributes are private!  Subclasses or other
    #     ExceptionInfo-like classes may have different attributes.
    if tup is None:
        tup = sys.exc_info()
        if exprinfo is None and isinstance(tup[1], py.magic.AssertionError):
            exprinfo = tup[1].msg
            if exprinfo and exprinfo.startswith('assert '):
                self._striptext = 'AssertionError: '
    self._excinfo = tup
    self.type, self.value, tb = self._excinfo
    self.typename = str(self.type)
    self.traceback = py.code.Traceback(tb) 

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.0

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py

traceback code.ExceptionInfo.__init__.1

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.2

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.3

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.4

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.5

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.6

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py

traceback code.ExceptionInfo.__init__.7

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py

traceback code.ExceptionInfo.__init__.8

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.9

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py

traceback code.ExceptionInfo.__init__.10

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.11

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.12

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.13

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.14

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.15

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.16

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.17

called in /home/johnny/projects/merlinux/py/dist/py/test/raises.py

traceback code.ExceptionInfo.__init__.18

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py

traceback code.ExceptionInfo.__init__.19

called in /home/johnny/projects/merlinux/py/dist/py/code/testing/test_excinfo.py

traceback code.ExceptionInfo.__init__.20