Debian Codegraph @

docs/source/tutorial/v1/liberty.py

raw symbols SCIP
1 # coding: utf-8
2 """ Liberty library is free """
3
4 import pprint
5
6 from deprecated import deprecated
7
8
9 @deprecated
10 def print_value(value):
11 """
12 Print the value
13
14 :param value: The value to print
15 """
16 pprint.pprint(value)
17
18
19 def better_print(value, printer=None):
20 """
21 Print the value using a *printer*.
22
23 :param value: The value to print
24 :param printer: Callable used to print the value, by default: :func:`pprint.pprint`
25 """
26 printer = printer or pprint.pprint
27 printer(value)