Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 filename
 lineno
 msg

Detailed Description

Exception raised on syntax errors in the .netrc file.

Definition at line 10 of file netrc.py.


Constructor & Destructor Documentation

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

Definition at line 12 of file netrc.py.

00012 
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 netrc.py.

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


Member Data Documentation

Definition at line 13 of file netrc.py.

Definition at line 14 of file netrc.py.

Definition at line 15 of file netrc.py.


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