Shorthand for 'format_list(extract_stack(f, limit))'.
(f=None, limit=None)
| 242 | |
| 243 | |
| 244 | def format_stack(f=None, limit=None): |
| 245 | """Shorthand for 'format_list(extract_stack(f, limit))'.""" |
| 246 | if f is None: |
| 247 | f = sys._getframe().f_back |
| 248 | return format_list(extract_stack(f, limit=limit)) |
| 249 | |
| 250 | |
| 251 | def extract_stack(f=None, limit=None): |
nothing calls this directly
no test coverage detected