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