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

getopt.error

Up: getopt | Next: getopt.getopt
Rel: getopt.getopt, getopt.GetoptError, getopt.gnu_getopt
Ref: docs.python.org โ€” getopt.error
Tags: #public #python3 #stdlib #getopt


Import

import getopt
from getopt import error

Signature & Overview

getopt.error(msg, opt='')

getopt.error class.

Methods & Attributes

Usage

import getopt

assert getopt.error is getopt.GetoptError

Gotchas

REPL Inspect

from getopt import error
help(error)

Linked from

Related notes