parameters: (self, text)
return_statement: return self._detab_re.subn(self._detab_sub, text)[0]
docstring: r"""Remove (leading?) tabs from a file.
  
              >>> m = Markdown()
              >>> m._detab("\tfoo")
              '    foo'
              >>> m._detab("  \tfoo")
              '    foo'
              >>> m._detab("\t  foo")
              '      foo'
              >>> m._detab("  foo")
              '  foo'
              >>> m._detab("  foo\n\tbar\tblam")
              '  foo\n    bar blam'
docstring_summary: r"""Remove (leading?) tabs from a file.
docstring_tokens: r Remove ( leading? ) tabs from a file .
function: def _detab(self, text):
          r"""Remove (leading?) tabs from a file.
  
              >>> m = Markdown()
              >>> m._detab("\tfoo")
              '    foo'
              >>> m._detab("  \tfoo")
              '    foo'
              >>> m._detab("\t  foo")
              '      foo'
              >>> m._detab("  foo")
              '  foo'
              >>> m._detab("  foo\n\tbar\tblam")
              '  foo\n    bar blam'
          """
          if '\t' not in text:
              return text
          return self._detab_re.subn(self._detab_sub, text)[0]
function_tokens: def _detab ( self , text ) : if '\t' not in text : return text return self . _detab_re . subn ( self . _detab_sub , text ) [ 0 ]