Ejemplo n.º 1
0
def nearest_user_location():
    """
    Returns:
        tuple: the filename and line number of the nearest user location
    """
    bt = bjam.backtrace()
    if not bt:
        return None
    last = bt[-1]
    return last[0], last[1]
Ejemplo n.º 2
0
 def __init__(self):
     raw = bjam.backtrace()
     self.raw_ = raw
Ejemplo n.º 3
0
 def __init__(self):
     raw = bjam.backtrace()
     self.raw_ = raw