Skip to content

Commit

Permalink
using print_function from future
Browse files Browse the repository at this point in the history
For python 3 compatability.
  • Loading branch information
kajuberdut committed Apr 4, 2017
1 parent 5b961d6 commit 29787b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thinkgraph/graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import print_function
import collections
import textwrap
import sys
Expand Down Expand Up @@ -71,7 +72,7 @@ def main():

# imperative
def output(g):
print g
print(g)

# pure
def create_graph(semantic_graph):
Expand Down

0 comments on commit 29787b2

Please sign in to comment.