original_docstring: 
          A convenience method which coerces the specified value to a float.
          
          If the value is an invalid literal for ``float``, a ``ValueError`` will
          be raised.
          
          >>> a = ConfigObj()
          >>> a['a'] = 'fish'
          >>> a.as_float('a')  #doctest: +IGNORE_EXCEPTION_DETAIL
          Traceback (most recent call last):
          ValueError: invalid literal for float(): fish
          >>> a['b'] = '1'
          >>> a.as_float('b')
          1.0
          >>> a['b'] = '3.2'
          >>> a.as_float('b')  #doctest: +ELLIPSIS
          3.2...
          
docstring: A convenience method which coerces the specified value to a float.
  
  
docstring_tokens: A convenience method which coerces the specified value to a float .
code: def as_float(self, key):
          """
          A convenience method which coerces the specified value to a float.
          
          If the value is an invalid literal for ``float``, a ``ValueError`` will
          be raised.
          
          >>> a = ConfigObj()
          >>> a['a'] = 'fish'
          >>> a.as_float('a')  #doctest: +IGNORE_EXCEPTION_DETAIL
          Traceback (most recent call last):
          ValueError: invalid literal for float(): fish
          >>> a['b'] = '1'
          >>> a.as_float('b')
          1.0
          >>> a['b'] = '3.2'
          >>> a.as_float('b')  #doctest: +ELLIPSIS
          3.2...
          """
          return float(self[key])
code_tokens: def as_float ( self , key ) : return float ( self [ key ] )
short_docstring: A convenience method which coerces the specified value to a float.
short_docstring_tokens: A convenience method which coerces the specified value to a float .
comment: """
          A convenience method which coerces the specified value to a float.
          
          If the value is an invalid literal for ``float``, a ``ValueError`` will
          be raised.
          
          >>> a = ConfigObj()
          >>> a['a'] = 'fish'
          >>> a.as_float('a')  #doctest: +IGNORE_EXCEPTION_DETAIL
          Traceback (most recent call last):
          ValueError: invalid literal for float(): fish
          >>> a['b'] = '1'
          >>> a.as_float('b')
          1.0
          >>> a['b'] = '3.2'
          >>> a.as_float('b')  #doctest: +ELLIPSIS
          3.2...
          """