original_docstring: 
          A convenience method which coerces the specified value to an integer.
          
          If the value is an invalid literal for ``int``, a ``ValueError`` will
          be raised.
          
          >>> a = ConfigObj()
          >>> a['a'] = 'fish'
          >>> a.as_int('a')
          Traceback (most recent call last):
          ValueError: invalid literal for int() with base 10: 'fish'
          >>> a['b'] = '1'
          >>> a.as_int('b')
          1
          >>> a['b'] = '3.2'
          >>> a.as_int('b')
          Traceback (most recent call last):
          ValueError: invalid literal for int() with base 10: '3.2'
          
docstring: A convenience method which coerces the specified value to an integer.
  
  
docstring_tokens: A convenience method which coerces the specified value to an integer .
code: def as_int(self, key):
          """
          A convenience method which coerces the specified value to an integer.
          
          If the value is an invalid literal for ``int``, a ``ValueError`` will
          be raised.
          
          >>> a = ConfigObj()
          >>> a['a'] = 'fish'
          >>> a.as_int('a')
          Traceback (most recent call last):
          ValueError: invalid literal for int() with base 10: 'fish'
          >>> a['b'] = '1'
          >>> a.as_int('b')
          1
          >>> a['b'] = '3.2'
          >>> a.as_int('b')
          Traceback (most recent call last):
          ValueError: invalid literal for int() with base 10: '3.2'
          """
          return int(self[key])
code_tokens: def as_int ( self , key ) : return int ( self [ key ] )
short_docstring: A convenience method which coerces the specified value to an integer.
short_docstring_tokens: A convenience method which coerces the specified value to an integer .
comment: """
          A convenience method which coerces the specified value to an integer.
          
          If the value is an invalid literal for ``int``, a ``ValueError`` will
          be raised.
          
          >>> a = ConfigObj()
          >>> a['a'] = 'fish'
          >>> a.as_int('a')
          Traceback (most recent call last):
          ValueError: invalid literal for int() with base 10: 'fish'
          >>> a['b'] = '1'
          >>> a.as_int('b')
          1
          >>> a['b'] = '3.2'
          >>> a.as_int('b')
          Traceback (most recent call last):
          ValueError: invalid literal for int() with base 10: '3.2'
          """