Esempio 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]
Esempio n. 2
0
 def __init__(self):
     raw = bjam.backtrace()
     self.raw_ = raw
Esempio n. 3
0
 def __init__(self):
     raw = bjam.backtrace()
     self.raw_ = raw