Exit subprocess, possibly after first clearing exit functions. If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any functions registered with atexit will be removed before exiting. (VPython support)
()
| 312 | """XXX How to do this now?""" |
| 313 | |
| 314 | def exit(): |
| 315 | """Exit subprocess, possibly after first clearing exit functions. |
| 316 | |
| 317 | If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any |
| 318 | functions registered with atexit will be removed before exiting. |
| 319 | (VPython support) |
| 320 | |
| 321 | """ |
| 322 | if no_exitfunc: |
| 323 | import atexit |
| 324 | atexit._clear() |
| 325 | capture_warnings(False) |
| 326 | sys.exit(0) |
| 327 | |
| 328 | |
| 329 | def fix_scaling(root): |
no test coverage detected
searching dependent graphs…