Пример #1
0
def print_content(string):
    """Attempts to pretty print whatever string is provided."""
    if string is not None:
        print content.get_pretty(string)
Пример #2
0
def print_content(string):
    """Attempts to pretty print whatever string is provided."""
    if string is not None:
        print content.get_pretty(string)
Пример #3
0
def print_content(string, extra_newline=False):
    """Attempts to pretty print whatever string is provided."""
    if string is not None:
        print(content.get_pretty(string))
        if extra_newline:
            print('')