On this page
  1. mailbox.NotEmptyError
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

mailbox.NotEmptyError

Prev: mailbox.NoSuchMailboxError | Up: mailbox
Rel: mailbox.Babyl, mailbox.BabylMessage, mailbox.Error, mailbox.ExternalClashError
Ref: docs.python.org โ€” mailbox.NotEmptyError
Tags: #public #python3 #stdlib #mailbox


Import

import mailbox
from mailbox import NotEmptyError

Signature & Overview

mailbox.NotEmptyError(...)

The specified mailbox is not empty and deletion was requested.

Methods & Attributes

Usage

import mailbox

assert issubclass(mailbox.NotEmptyError, mailbox.Error)

Gotchas

REPL Inspect

from mailbox import NotEmptyError
help(NotEmptyError)

Linked from

Related notes