class Stack(object):
	"""docstring for Stack"""

	def __init__(self):
		super(Stack, self).__init__()
		self.stack = []

	def __str__(self):
		ret = ""
		for d in reversed(self.stack):
			ret = ret + str(d) + '\n'
		return str(ret)

	"""
	Length: returns amount of elements in the stack
	"""
	@property
	def length(self):
		return len(self.stack)

	"""
	Top: returns the top element of the stack
	"""
	@property
	def top(self):
		if self.length > 0:
			return self.stack[-1]
		return ' '
	@property
	def top2(self):
		if self.length > 1:
			return self.stack[-2]
		return ' '
	"""
	Push: appends element at the top of the stack
	"""
	def push(self, arg):
		self.stack.append(arg)


	"""
	Pop: removes the top element of the stack
	"""
	def pop(self):
		if self.length > 0:
			return self.stack.pop()
@@ -1,76 +1,221 @@
-class Stack(object):%0A%09%22%22%22docstring for Stack%22%22%22%0A%0A%09def __init__(self):%0A%09%09
+'''Este modulo contiene la definicion de la clase Stack'''%0A%0Aclass Stack(object):%0A    '''Clase Pila, acepta objetos de cualquier tipo.'''%0A%0A    def __init__(self):%0A        '''Metodo para inicializar un stack'''%0A        
 supe
@@ -240,18 +240,24 @@
 nit__()%0A
-%09%09
+        
 self.sta
@@ -265,17 +265,20 @@
 k = %5B%5D%0A%0A
-%09
+    
 def __st
@@ -288,18 +288,91 @@
 (self):%0A
-%09%09
+        '''Metodo de apoyo para visualizar contenidos del stack'''%0A        
 ret = %22%22
@@ -372,18 +372,24 @@
 et = %22%22%0A
-%09%09
+        
 for d in
@@ -411,19 +411,28 @@
 stack):%0A
-%09%09%09
+            
 ret = re
@@ -449,18 +449,24 @@
  + '%5Cn'%0A
-%09%09
+        
 return s
@@ -478,47 +478,96 @@
 t)%0A%0A
-%09%22%22%22%0A%09Length: returns amount of
+    @property%0A    def length(self):%0A        '''Propiedad. Regresa la cantidad de
  element
 s in
@@ -566,166 +566,152 @@
 ment
+o
 s 
-i
+e
 n 
-th
 e
+l
  stack
-%0A%09%22%22%22%0A%09@property%0A%09def length(self):%0A%09%09return len(self.stack)%0A%0A%09%22%22%22%0A%09Top: returns the top element of the stack%0A%09%22%22%22%0A%09@property%0A%09def top(self):%0A%09%09
+'''%0A        return len(self.stack)%0A%0A    @property%0A    def top(self):%0A        '''Regresa el elemento en tope de la pila'''%0A        
 if s
@@ -718,35 +718,44 @@
 elf.length %3E 0:%0A
-%09%09%09
+            
 return self.stac
@@ -760,18 +760,24 @@
 ack%5B-1%5D%0A
-%09%09
+        
 return '
@@ -779,17 +779,21 @@
 urn ' '%0A
-%09
+%0A    
 @propert
@@ -794,17 +794,20 @@
 roperty%0A
-%09
+    
 def top2
@@ -806,34 +806,100 @@
 def top2(self):%0A
-%09%09
+        '''Regresa siguiente elemento al tope de la pila'''%0A        
 if self.length %3E
@@ -902,19 +902,28 @@
 th %3E 1:%0A
-%09%09%09
+            
 return s
@@ -936,18 +936,24 @@
 ack%5B-2%5D%0A
-%09%09
+        
 return '
@@ -959,185 +959,200 @@
 ' '%0A
-%09%22%22%22%0A%09Push: appends element at the top of the stack%0A%09%22%22%22%0A%09def push(self, arg):%0A%09%09self.stack.append(arg)%0A%0A%0A%09%22%22%22%0A%09Pop: removes the top element of the stack%0A%09%22%22%22%0A%09def pop(self):%0A%09%09
+%0A    def push(self, arg):%0A        '''Inserta elemento en el tope de la pila'''%0A        self.stack.append(arg)%0A%0A    def pop(self):%0A        '''Remueve el elemento del tope de la pila'''%0A        
 if s
@@ -1171,11 +1171,20 @@
  0:%0A
-%09%09%09
+            
 retu
@@ -1202,8 +1202,9 @@
 ck.pop()
+%0A

Actualiza documentacion de la clase Stack