3 �:X� � @ s� d dl Z d dlZd dlZd dlZd dlmZmZmZ G dd� de�ZG dd� de �Z dd� Zdd d�Zdd � Z dd� Zdd� Zdd� Zdd� Zdd� Ze � e � fdd�Zdd� ZdS )� N)� str_types�MutableMapping�urlsplitc @ sP e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� ZdS )�URIDictz9 Dictionary which uses normalized URIs as keys. c C s t |�j� S )N)r Zgeturl)�self�uri� r �/usr/lib/python3.6/_utils.py� normalize s zURIDict.normalizec O s t � | _| jj||� d S )N)�dict�store�update)r �args�kwargsr r r �__init__ s zURIDict.__init__c C s | j | j|� S )N)r r )r r r r r �__getitem__ s zURIDict.__getitem__c C s || j | j|�<