Back to index

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

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 295 of file

Constructor & Destructor Documentation

def asdl.Sum.__init__ (   self,
  attributes = None 

Definition at line 296 of file

00297     def __init__(self, types, attributes=None):
00298         self.types = types
00299         self.attributes = attributes or []

Here is the caller graph for this function:

Member Function Documentation

def asdl.Sum.__repr__ (   self)

Definition at line 300 of file

00301     def __repr__(self):
00302         if self.attributes is None:
00303             return "Sum(%s)" % self.types
00304         else:
00305             return "Sum(%s, %s)" % (self.types, self.attributes)

Member Data Documentation

Definition at line 298 of file

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 297 of file

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