File: //lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__pycache__/parameters.cpython-38.pyc
U
��I]i � @ s� d Z ddlmZmZ ddlmZmZ ddlmZ zddl m Z m
Z
W n$ ek
rh ddlm Z m
Z
Y nX ej
ddd ��Zd
d� Zdd
� Zdd� ZdS )z�
oauthlib.parameters
~~~~~~~~~~~~~~~~~~~
This module contains methods related to `section 3.5`_ of the OAuth 1.0a spec.
.. _`section 3.5`: https://tools.ietf.org/html/rfc5849#section-3.5
� )�absolute_import�unicode_literals)�extract_params� urlencode� )�utils)�urlparse�
urlunparseNc C s� |pi }g }| D ]2\}}t �|�}t �|�}d�||�}|�|� qd�|�} |r^d| | } d| }
i }|�|� |
|d<