(self, filename, lineno, name, *, lookup_line=True,
            locals=None, line=None)
Construct a FrameSummary.

        :param lookup_line: If True, `linecache` is consulted for the source
            code line. Otherwise, the line will be looked up when first needed.
        :param locals: If supplied the frame locals, which will be captured as
            object representations.
        :param line: If provided, use this instead of looking up the line in
            the linecache.
Construct a FrameSummary.
Construct a FrameSummary .
def __init__(self, filename, lineno, name, *, lookup_line=True,
            locals=None, line=None):
        """Construct a FrameSummary.

        :param lookup_line: If True, `linecache` is consulted for the source
            code line. Otherwise, the line will be looked up when first needed.
        :param locals: If supplied the frame locals, which will be captured as
            object representations.
        :param line: If provided, use this instead of looking up the line in
            the linecache.
        """
        self.filename = filename
        self.lineno = lineno
        self.name = name
        self._line = line
        if lookup_line:
            self.line
        self.locals = {k: repr(v) for k, v in locals.items()} if locals else None
def __init__ ( self , filename , lineno , name , * , lookup_line = True , locals = None , line = None ) : self . filename = filename self . lineno = lineno self . name = name self . _line = line if lookup_line : self . line self . locals = { k : repr ( v ) for k , v in locals . items ( ) } if locals else None