def debug ( ftn , txt ) : if debug_p : sys . stdout . write ( "{0}.{1}:{2}\n" . format ( modname , ftn , txt ) ) sys . stdout . flush ( )
python print global modifier
Used for debugging .
def debug(ftn, txt):
    """Used for debugging."""
    if debug_p:
        sys.stdout.write("{0}.{1}:{2}\n".format(modname, ftn, txt))
        sys.stdout.flush()