Shorthand for 'format_list(extract_stack(f, limit))'.
(f=None, limit=None)
| 252 | |
| 253 | |
| 254 | def format_stack(f=None, limit=None): |
| 255 | """Shorthand for 'format_list(extract_stack(f, limit))'.""" |
| 256 | if f is None: |
| 257 | f = sys._getframe().f_back |
| 258 | return format_list(extract_stack(f, limit=limit)) |
| 259 | |
| 260 | |
| 261 | def extract_stack(f=None, limit=None): |
nothing calls this directly
no test coverage detected
searching dependent graphs…