(
name,
offset,
version,
co,
out=StringIO(),
showasm=False,
showast=False,
showgrammar=PARSER_DEFAULT_DEBUG,
is_pypy=False,
)
| 2222 | |
| 2223 | # Deprecated. Here still for compatibility |
| 2224 | def deparse_code_around_offset( |
| 2225 | name, |
| 2226 | offset, |
| 2227 | version, |
| 2228 | co, |
| 2229 | out=StringIO(), |
| 2230 | showasm=False, |
| 2231 | showast=False, |
| 2232 | showgrammar=PARSER_DEFAULT_DEBUG, |
| 2233 | is_pypy=False, |
| 2234 | ): |
| 2235 | debug_opts = {"asm": showasm, "ast": showast, "grammar": showgrammar} |
| 2236 | return code_deparse(name, offset, co, out, version, is_pypy, debug_opts) |
| 2237 | |
| 2238 | |
| 2239 | def op_at_code_loc(code, loc, opc): |
nothing calls this directly
no test coverage detected