Shorthand for 'format_list(extract_stack(f, limit))'.
(f=None, limit=None)
| 208 | |
| 209 | |
| 210 | def format_stack(f=None, limit=None): |
| 211 | """Shorthand for 'format_list(extract_stack(f, limit))'.""" |
| 212 | if f is None: |
| 213 | f = sys._getframe().f_back |
| 214 | return format_list(extract_stack(f, limit=limit)) |
| 215 | |
| 216 | |
| 217 | def extract_stack(f=None, limit=None): |
nothing calls this directly
no test coverage detected