Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
netrc.NetrcParseError Class Reference
Inheritance diagram for netrc.NetrcParseError:
Inheritance graph
Collaboration diagram for netrc.NetrcParseError:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

Exception raised on syntax errors in the .netrc file.

Definition at line 10 of file

Constructor & Destructor Documentation

def netrc.NetrcParseError.__init__ (   self,
  filename = None,
  lineno = None 

Definition at line 12 of file

00013     def __init__(self, msg, filename=None, lineno=None):
00014         self.filename = filename
00015         self.lineno = lineno
00016         self.msg = msg
00017         Exception.__init__(self, msg)

Here is the caller graph for this function:

Member Function Documentation

Definition at line 18 of file

00019     def __str__(self):
00020         return "%s (%s, line %s)" % (self.msg, self.filename, self.lineno)

Member Data Documentation

Definition at line 13 of file

Definition at line 14 of file

Definition at line 15 of file

The documentation for this class was generated from the following file: