parameters: (self, text)
return_statement: return chunks
docstring: _split(text : string) -> [string]
  
          Split the text to wrap into indivisible chunks.  Chunks are
          not quite the same as words; see _wrap_chunks() for full
          details.  As an example, the text
            Look, goof-ball -- use the -b option!
          breaks into the following chunks:
            'Look,', ' ', 'goof-', 'ball', ' ', '--', ' ',
            'use', ' ', 'the', ' ', '-b', ' ', 'option!'
          if break_on_hyphens is True, or in:
            'Look,', ' ', 'goof-ball', ' ', '--', ' ',
            'use', ' ', 'the', ' ', '-b', ' ', option!'
          otherwise.
docstring_summary: _split(text : string) -> [string]
docstring_tokens: _split ( text : string ) - > [ string ]
function: def _split(self, text):
          """_split(text : string) -> [string]
  
          Split the text to wrap into indivisible chunks.  Chunks are
          not quite the same as words; see _wrap_chunks() for full
          details.  As an example, the text
            Look, goof-ball -- use the -b option!
          breaks into the following chunks:
            'Look,', ' ', 'goof-', 'ball', ' ', '--', ' ',
            'use', ' ', 'the', ' ', '-b', ' ', 'option!'
          if break_on_hyphens is True, or in:
            'Look,', ' ', 'goof-ball', ' ', '--', ' ',
            'use', ' ', 'the', ' ', '-b', ' ', option!'
          otherwise.
          """
          if isinstance(text, _unicode):
              if self.break_on_hyphens:
                  pat = self.wordsep_re_uni
              else:
                  pat = self.wordsep_simple_re_uni
          else:
              if self.break_on_hyphens:
                  pat = self.wordsep_re
              else:
                  pat = self.wordsep_simple_re
          chunks = pat.split(text)
          chunks = filter(None, chunks)  # remove empty chunks
          return chunks
function_tokens: def _split ( self , text ) : if isinstance ( text , _unicode ) : if self . break_on_hyphens : pat = self . wordsep_re_uni else : pat = self . wordsep_simple_re_uni else : if self . break_on_hyphens : pat = self . wordsep_re else : pat = self . wordsep_simple_re chunks = pat . split ( text ) chunks = filter ( None , chunks ) # remove empty chunks return chunks