Share via


hashing Module

Functions

make_hashable

Recursively convert unhashable types to hashable equivalents.

make_hashable(input: Any, visited=None) -> Any

Parameters

Name Description
input
Required

The input to convert to a hashable type.

visited

A dictionary of visited objects to prevent infinite recursion.

Default value: None

Returns

Type Description
Any

The input converted to a hashable type.