Explorar el Código

Update chain.py

typo
Milos Cubrilo hace 11 años
padre
commit
f7ec06df2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      chain.py

+ 1 - 1
chain.py

@@ -12,7 +12,7 @@ class Handler:
     def successor(self, successor):
         self._successor = successor
 
-    def handler(self, request):
+    def handle(self, request):
         raise NotImplementedError('Must provide implementation in subclass.')
 
 class ConcreteHandler1(Handler):