class_docstr: Customizable traceback for inclusion debug log messages
      
class_docstr_tok: ["Customizable","traceback","for","inclusion","debug","log","messages"]
docstr: Call traceback.extract_stack() with limit parameter
  
  Parameters
  ----------
  limit: int, optional
    Limit stack trace entries (starting from the invocation point)
    if limit is positive, or to the last `abs(limit)` entries.
    If limit is omitted or None, all entries are printed.
  
  Returns
  -------
  traceback.StackSummary
docstr_tok: ["Call","traceback.extract_stack","(",")","with","limit","parameter","Parameters","--","--","--","--","--","limit",":","int",",","optional","Limit","stack","trace","entries","(","starting","from","the","invocation","point",")","if","limit","is","positive",",","or","to","the","last","`","abs","(","limit",")","`","entries",".","If","limit","is","omitted","or","None",",","all","entries","are","printed",".","Returns","--","--","--","-","traceback.StackSummary"]
code: def _extract_stack(self, limit=None):
      """Call traceback.extract_stack() with limit parameter
  
      Parameters
      ----------
      limit: int, optional
        Limit stack trace entries (starting from the invocation point)
        if limit is positive, or to the last `abs(limit)` entries.
        If limit is omitted or None, all entries are printed.
  
      Returns
      -------
      traceback.StackSummary
      """
      import traceback
  
      return traceback.extract_stack(limit=limit)
  
imports: from contextlib import contextmanager
  from functools import partial
  import inspect
  import logging
  import os
  import sys
  import platform
  import random
  import logging.handlers
  import warnings
  from os.path import basename, dirname
  from collections import defaultdict
  from .utils import is_interactive, optional_args
  from .support import ansi_colors
label_desc: Use image node_id 2 for calling the TraceBack obj's underlying member method code with example usage: obj._extract_stack(limit) and returns: traceback