On this page
  1. os.abort
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

os.abort

Up: os | Next: os.access
Rel: os.access, os.chdir, os.chmod, os.chown
Ref: docs.python.org — os.abort
Tags: #public #python3 #stdlib #os


Import

import os
from os import abort

Signature & Overview

os.abort()

Abort the interpreter immediately.

Usage

import os

# Immediately terminates the process with SIGABRT (no finally/atexit cleanup)
assert callable(os.abort)

Gotchas

REPL Inspect

from os import abort
help(abort)

Linked from

Related notes