Back to index

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

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 name
 fields
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 268 of file asdl.py.


Constructor & Destructor Documentation

def asdl.Constructor.__init__ (   self,
  name,
  fields = None 
)

Definition at line 269 of file asdl.py.

00269 
00270     def __init__(self, name, fields=None):
00271         self.name = name
00272         self.fields = fields or []

Here is the caller graph for this function:


Member Function Documentation

def asdl.Constructor.__repr__ (   self)

Definition at line 273 of file asdl.py.

00273 
00274     def __repr__(self):
00275         return "Constructor(%s, %s)" % (self.name, self.fields)


Member Data Documentation

Definition at line 271 of file asdl.py.

Definition at line 270 of file asdl.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


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