mercurial/lsprof.py
branchstable
changeset 51672 99632adff795
parent 50952 18c8c18993f0
equal deleted inserted replaced
51671:7d9bd50afe3d 51672:99632adff795
     4 Profiler = _lsprof.Profiler
     4 Profiler = _lsprof.Profiler
     5 
     5 
     6 # PyPy doesn't expose profiler_entry from the module.
     6 # PyPy doesn't expose profiler_entry from the module.
     7 profiler_entry = getattr(_lsprof, 'profiler_entry', None)
     7 profiler_entry = getattr(_lsprof, 'profiler_entry', None)
     8 
     8 
     9 __all__ = [b'profile', b'Stats']
     9 __all__ = ['profile', 'Stats']
    10 
    10 
    11 
    11 
    12 def profile(f, *args, **kwds):
    12 def profile(f, *args, **kwds):
    13     """XXX docstring"""
    13     """XXX docstring"""
    14     p = Profiler()
    14     p = Profiler()