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 |
|---|---|
|
The input converted to a hashable type. |