original_docstring: 
          A convenience method which fetches the specified value, guaranteeing
          that it is a list.
          
          >>> a = ConfigObj()
          >>> a['a'] = 1
          >>> a.as_list('a')
          [1]
          >>> a['a'] = (1,)
          >>> a.as_list('a')
          [1]
          >>> a['a'] = [1]
          >>> a.as_list('a')
          [1]
          
docstring: A convenience method which fetches the specified value, guaranteeing
  that it is a list.
  
  
docstring_tokens: A convenience method which fetches the specified value guaranteeing that it is a list .
code: def as_list(self, key):
          """
          A convenience method which fetches the specified value, guaranteeing
          that it is a list.
          
          >>> a = ConfigObj()
          >>> a['a'] = 1
          >>> a.as_list('a')
          [1]
          >>> a['a'] = (1,)
          >>> a.as_list('a')
          [1]
          >>> a['a'] = [1]
          >>> a.as_list('a')
          [1]
          """
          result = self[key]
          if isinstance(result, (tuple, list)):
              return list(result)
          return [result]
code_tokens: def as_list ( self , key ) : result = self [ key ] if isinstance ( result , ( tuple , list ) ) : return list ( result ) return [ result ]
short_docstring: A convenience method which fetches the specified value, guaranteeing
  that it is a list.
short_docstring_tokens: A convenience method which fetches the specified value guaranteeing that it is a list .
comment: """
          A convenience method which fetches the specified value, guaranteeing
          that it is a list.
          
          >>> a = ConfigObj()
          >>> a['a'] = 1
          >>> a.as_list('a')
          [1]
          >>> a['a'] = (1,)
          >>> a.as_list('a')
          [1]
          >>> a['a'] = [1]
          >>> a.as_list('a')
          [1]
          """