equal
deleted
inserted
replaced
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() |