def tree_details(text):
 return leading_whitespace_re.sub(u'', text.rstrip())

def tree_details ( text ) : return leading_whitespace_re . sub ( u'' , text . rstrip ( ) )
trims leading whitespace from the given text specifying tree details so triple-quoted strings can be used to provide tree details in a readable format .