# requests 2.34.2 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Both ``__get_item__`` and ``get`` call this function: it's never
        used elsewhere in Requests.

        :param name: a string containing name of cookie
        :param domain: (optional) string containing domain of cookie
        :param path: (optional) string containing path of cookie
        :raises KeyError: if cookie is not found
        :raises CookieConflictError: if there are multiple cookies
            that match name and optionally domain and path
        :return: cookie.value
        
=== parse rest
short_description: |
  Both ``__get_item__`` and ``get`` call this function: it's never
  used elsewhere in Requests.
blank_after_short_description: True
blank_after_long_description: False
style: rest
- DocstringParam
  description: 'a string containing name of cookie'
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
- DocstringParam
  description: '(optional) string containing domain of cookie'
  kind: param
  key: 'param'
  arg_name: 'domain'
  is_optional: False
- DocstringParam
  description: '(optional) string containing path of cookie'
  kind: param
  key: 'param'
  arg_name: 'path'
  is_optional: False
- DocstringRaises
  description: 'if cookie is not found'
  kind: raises
  key: 'raises'
  type_name: 'KeyError'
- DocstringRaises
  description: |
    if there are multiple cookies
    that match name and optionally domain and path
  kind: raises
  key: 'raises'
  type_name: 'CookieConflictError'
- DocstringReturns
  description: 'cookie.value'
  kind: returns
  key: 'return'
  is_generator: False
=== detect
rest
=== compose rest
Both ``__get_item__`` and ``get`` call this function: it's never
used elsewhere in Requests.

:param name: a string containing name of cookie
:param domain: (optional) string containing domain of cookie
:param path: (optional) string containing path of cookie
:raises KeyError: if cookie is not found
:raises CookieConflictError: if there are multiple cookies
    that match name and optionally domain and path
:return: cookie.value
