original_docstring:  Print some text defined by msg. If chars_per_line is defined, inserts newlines after the given amount. Use normal '\n' line breaks for empty lines. 
docstring: Print some text defined by msg. If chars_per_line is defined, inserts newlines after the given amount. Use normal '\n' line breaks for empty lines.
docstring_tokens: Print some text defined by msg . If chars_per_line is defined inserts newlines after the given amount . Use normal ' \ n ' line breaks for empty lines .
code: def print_text(p, msg, chars_per_line=None):
  	""" Print some text defined by msg. If chars_per_line is defined, inserts newlines after the given amount. Use normal '\n' line breaks for empty lines. """
  	if not chars_per_line:
  	    p.write(msg)
  	    sleep(0.2)
  	else:
  	    l = list(msg)
  	    le = len(msg)
  	    for i in xrange(chars_per_line + 1, le, chars_per_line + 1):
  		l.insert(i, '\n')
  	    p.write("".join(l))
  	    sleep(0.2)
code_tokens: def print_text ( p , msg , chars_per_line = None ) : if not chars_per_line : p . write ( msg ) sleep ( 0.2 ) else : l = list ( msg ) le = len ( msg ) for i in xrange ( chars_per_line + 1 , le , chars_per_line + 1 ) : l . insert ( i , '\n' ) p . write ( "" . join ( l ) ) sleep ( 0.2 )
short_docstring: Print some text defined by msg.
short_docstring_tokens: Print some text defined by msg .
comment: """ Print some text defined by msg. If chars_per_line is defined, inserts newlines after the given amount. Use normal '\n' line breaks for empty lines. """