dddp/websocket.py
def dprint(name, val):
    """Debug print name and val."""
    from pprint import pformat
    print(
        '% 5s: %s' % (
            name,
            '\n       '.join(
                pformat(
                    val, indent=4, width=75,
                ).split('\n')
            ),
        ),
    )
def dprint(name, val):
    """Debug print name and val."""
    from pprint import pformat
    print(
        '% 5s: %s' % (
            name,
            '\n       '.join(
                pformat(
                    val, indent=4, width=75,
                ).split('\n')
            ),
        ),
    )
def dprint ( name , val ) : from pprint import pformat print ( '% 5s: %s' % ( name , '\n       ' . join ( pformat ( val , indent = 4 , width = 75 , ) . split ( '\n' ) ) , ) , )
Debug print name and val.
Debug print name and val .