OwlCyberSecurity - MANAGER
Edit File: hashable.cpython-39.pyc
a kH�f� � @ s d dl mZ dd� ZdS )� )�is_iterablec C sd t | t�r$tdd� t| �� �D ��S zt| � W n. ty^ t| �rXttt | �� Y S � Y n0 | S )z� Attempt to make value hashable or raise a TypeError if it fails. The returned value should generate the same hash for equal values. c S s g | ]\}}|t |�f�qS � )� make_hashable)�.0�keyZnested_valuer r �W/home/gouroczh/virtualenv/test/3.9/lib/python3.9/site-packages/django/utils/hashable.py� <listcomp> s �z!make_hashable.<locals>.<listcomp>) � isinstance�dict�tuple�sorted�items�hash� TypeErrorr �mapr )�valuer r r r s ��r N)Zdjango.utils.itercompatr r r r r r �<module> s