Package gavo :: Package base :: Module meta :: Class _NoHyphenWrapper
[hide private]
[frames] | no frames]

Class _NoHyphenWrapper

source code

textwrap.TextWrapper --+
                       |
                      _NoHyphenWrapper

Instance Methods [hide private]

Inherited from textwrap.TextWrapper: __init__, fill, wrap

Inherited from textwrap.TextWrapper (private): _fix_sentence_endings, _handle_long_word, _munge_whitespace, _split, _wrap_chunks

Class Variables [hide private]
  wordsep_re = re.compile(r'(\s+|(?<=[\w!"\'&\.,\?])-{2,}(?=\w))')

Inherited from textwrap.TextWrapper: sentence_end_re, unicode_whitespace_trans, uspace, whitespace_trans, x