Back to index

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

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 name
 dfns
 version
 types
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 248 of file asdl.py.


Constructor & Destructor Documentation

def asdl.Module.__init__ (   self,
  name,
  dfns,
  version 
)

Definition at line 249 of file asdl.py.

00249 
00250     def __init__(self, name, dfns, version):
00251         self.name = name
00252         self.dfns = dfns
00253         self.version = version
00254         self.types = {} # maps type name to value (from dfns)
00255         for type in dfns:
00256             self.types[type.name.value] = type.value

Here is the caller graph for this function:


Member Function Documentation

def asdl.Module.__repr__ (   self)

Definition at line 257 of file asdl.py.

00257 
00258     def __repr__(self):
00259         return "Module(%s, %s)" % (self.name, self.dfns)


Member Data Documentation

Definition at line 251 of file asdl.py.

Definition at line 250 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.

Definition at line 253 of file asdl.py.

Definition at line 252 of file asdl.py.


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