Commits

Giulio Piancastelli committed e149712

Add missing return statement.

  • Participants
  • Parent commits bb4eb3f

Comments (0)

Files changed (2)

python 2/koans/about_decorating_with_classes.py

         if num == 3:
             return 5
         else:
-            num
+            return num
 
     @documenter("Does nothing")
     def idler(self, num):

python 3/koans/about_decorating_with_classes.py

         if num==3:
             return 5 
         else:
-            num
+            return num
     @documenter("Does nothing")
     def idler(self, num):
         "Idler"
     def test_we_can_chain_decorators(self):
         self.assertEqual(__, self.homer())
         self.assertEqual(__, self.homer.__doc__)
-    
+