about summary refs log tree commit diff
path: root/universe/ac_types/pretty.py
diff options
context:
space:
mode:
Diffstat (limited to 'universe/ac_types/pretty.py')
-rw-r--r--universe/ac_types/pretty.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/universe/ac_types/pretty.py b/universe/ac_types/pretty.py
new file mode 100644
index 000000000000..ac1f7203187b
--- /dev/null
+++ b/universe/ac_types/pretty.py
@@ -0,0 +1,7 @@
+from pprint import PrettyPrinter
+
+printer = PrettyPrinter(indent=2)
+
+
+def pretty_print(x):
+    return printer.pprint(x)