Gurus, I'm looking for definite examples (pardon me if I'm not clear
here) on Stack class...Somewhat like this :

class Stack(object):
      def __init__(self__)
          self.__contents = []


and ad hoc implementation of a class based on number system like for
example somewhat like this


def __imult__(self, other):
       self.__numerator   *= other.__numerator
       self.__denominator *= other.__denominator
       .
       .
      return self



I'm not satisfied with Python Docs. Thanks in advance.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to