scenic.core.utils
Assorted utility functions.
Summary of Module Members
Functions
|
|
|
|
Decorator for making a method with no arguments cache its result |
|
|
|
Version of |
|
Version of |
Classes
Dictionary which is the identity map by default. |
Member Details
- class DefaultIdentityDict[source]
Dictionary which is the identity map by default.
The map works on all objects, even unhashable ones, but doesn’t support all of the standard mapping operations.
- get_type_origin(tp)[source]
Version of
typing.get_origin
supporting Python 3.7.
- get_type_args(tp)[source]
Version of
typing.get_args
supporting Python 3.7.