Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
turtledemo.minimal_hanoi.Tower Class Reference

List of all members.

Public Member Functions

def __init__
def push
def pop

Public Attributes


Detailed Description

Definition at line 30 of file

Constructor & Destructor Documentation

def turtledemo.minimal_hanoi.Tower.__init__ (   self,

Definition at line 32 of file

00033     def __init__(self, x):
00034         "create an empty tower. x is x-position of peg"
        self.x = x

Here is the caller graph for this function:

Member Function Documentation

Definition at line 39 of file

00040     def pop(self):
00041         d = list.pop(self)
00042         d.sety(150)
00043         return d

def turtledemo.minimal_hanoi.Tower.push (   self,

Definition at line 35 of file

00036     def push(self, d):
00037         d.setx(self.x)
00038         d.sety(-150+34*len(self))

Here is the call graph for this function:

Member Data Documentation

Definition at line 34 of file

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