Explorar o código

Update chain.py

typo
Milos Cubrilo %!s(int64=11) %!d(string=hai) anos
pai
achega
f7ec06df2f
Modificáronse 1 ficheiros con 1 adicións e 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):