parameters: (self, line)
return_statement: return len(line) - len(stripped)
docstring: Returns the length of the line's margin.
docstring_summary: Returns the length of the line's margin.
docstring_tokens: Returns the length of the line s margin .
function: def measure(self, line):
          """
          Returns the length of the line's margin.
          """
          if '\t' in line:
              fail('Tab characters are illegal in the Argument Clinic DSL.')
          stripped = line.lstrip()
          if not len(stripped):
              # we can't tell anything from an empty line
              # so just pretend it's indented like our current indent
              self._ensure()
              return self.indents[-1]
          return len(line) - len(stripped)
function_tokens: def measure ( self , line ) : if '\t' in line : fail ( 'Tab characters are illegal in the Argument Clinic DSL.' ) stripped = line . lstrip ( ) if not len ( stripped ) : # we can't tell anything from an empty line # so just pretend it's indented like our current indent self . _ensure ( ) return self . indents [ - 1 ] return len ( line ) - len ( stripped )