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

netrc.NetrcParseError

Prev: netrc.netrc | Up: netrc
Rel: netrc.netrc
Ref: docs.python.org โ€” netrc.NetrcParseError
Tags: #public #python3 #stdlib #netrc


Import

import netrc
from netrc import NetrcParseError

Signature & Overview

netrc.NetrcParseError(msg, filename=None, lineno=None)

Exception raised on syntax errors in the .netrc file.

Methods & Attributes

Usage

import netrc

assert issubclass(netrc.NetrcParseError, Exception)

Gotchas

REPL Inspect

from netrc import NetrcParseError
help(NetrcParseError)

Linked from

Related notes