Skip to content

Commit

Permalink
Python 3: print_function
Browse files Browse the repository at this point in the history
Use print function if you must print, this lets us use the
library in python 3 environments.

partial: kevin1024#86
  • Loading branch information
hartsock committed Jul 24, 2014
1 parent c56de47 commit 868a974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vcr/compat/counter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import print_function
from operator import itemgetter
from heapq import nlargest
from itertools import repeat, ifilter
Expand Down Expand Up @@ -189,5 +190,5 @@ def __and__(self, other):

if __name__ == '__main__':
import doctest
print doctest.testmod()
print(doctest.testmod())

0 comments on commit 868a974

Please sign in to comment.