Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
lib2to3.pgen2.parse.ParseError Class Reference
Inheritance diagram for lib2to3.pgen2.parse.ParseError:
Inheritance graph
[legend]
Collaboration diagram for lib2to3.pgen2.parse.ParseError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Public Attributes

 msg
 type
 value
 context

Detailed Description

Exception to signal the parser is stuck.

Definition at line 16 of file parse.py.


Constructor & Destructor Documentation

def lib2to3.pgen2.parse.ParseError.__init__ (   self,
  msg,
  type,
  value,
  context 
)

Definition at line 19 of file parse.py.

00019 
00020     def __init__(self, msg, type, value, context):
00021         Exception.__init__(self, "%s: type=%r, value=%r, context=%r" %
00022                            (msg, type, value, context))
00023         self.msg = msg
00024         self.type = type
00025         self.value = value
00026         self.context = context

Here is the caller graph for this function:


Member Data Documentation

Definition at line 25 of file parse.py.

Definition at line 22 of file parse.py.

Definition at line 23 of file parse.py.

Definition at line 24 of file parse.py.


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