Commits

Giulio Piancastelli committed bb4eb3f

Cut misleading comments that (may) contain Rubyisms.

Comments (0)

Files changed (2)

python 2/koans/about_iteration.py

         self.assertEqual(__, list(result))
 
         try:
-            # Files act like a collection of lines
             f = open("example_file.txt")
 
             try:   
                     return line.strip().upper()
                 upcase_lines = map(make_upcase, f.readlines())
                 self.assertEqual(__, list(upcase_lines))
-            
-                # NOTE: You can create your own collections that work with each,
-                # map, select, etc.
             finally:
                 # Arg, this is ugly.
                 # We will figure out how to fix this later.

python 3/koans/about_iteration.py

         self.assertEqual(__, list(result))
 
         try:
-            # Files act like a collection of lines
             file = open("example_file.txt")
 
             try:
                     return line.strip().upper()
                 upcase_lines = map(make_upcase, file.readlines())
                 self.assertEqual(__, list(upcase_lines))
-            
-                # NOTE: You can create your own collections that work with each,
-                # map, select, etc.
             finally:
                 # Arg, this is ugly.
                 # We will figure out how to fix this later.