Commits

Luke Plant  committed fba633e

Clean ups

  • Participants
  • Parent commits d907da2

Comments (0)

Files changed (1)

File classmethod.py

 
     @classmethod
     def as_view(cls, request, *args, **kwargs):
-        self = object.__new__(cls)
-        self.__init__()
+        self = cls()
         return self.dispatch(request, *args, **kwargs)
 
     @classmethod
 
     greeting = "Hello"
 
-    def __init__(self, ):
+    def __init__(self):
         self.foo = []
         self.bar = 0