Ned Batchelder committed 7329dc8

My own decorators can be decorators

  • Participants
  • Parent commits 16717e0
  • Branches 4.0

Comments (0)

Files changed (1)

File coverage/

         return lines, excluded_lines
+    @expensive
     def arcs(self):
         """Get information about the arcs available in the code.
             if fl1 != fl2:
                 all_arcs.append((fl1, fl2))
         return sorted(all_arcs)
-    arcs = expensive(arcs)
+    @expensive
     def exit_counts(self):
         """Get a mapping from line numbers to count of exits from that line.
                 exit_counts[l] -= 1
         return exit_counts
-    exit_counts = expensive(exit_counts)
 ## Opcodes that guide the ByteParser.