def toHash(mobj):
    'Cache the given `mobj` and return its hashCode\n\n    This enables pre-caching of one or more nodes in situations where\n    intend to access it later, at a more performance-critical moment.\n\n    Ignores nodes that have already been cached.\n\n    '
    node = Node(mobj)
    return node.hashCode
Cache the given `mobj` and return its hashCode

This enables pre-caching of one or more nodes in situations where
intend to access it later, at a more performance-critical moment.

Ignores nodes that have already been cached.
def toHash(mobj):
    'Cache the given `mobj` and return its hashCode\n\n    This enables pre-caching of one or more nodes in situations where\n    intend to access it later, at a more performance-critical moment.\n\n    Ignores nodes that have already been cached.\n\n    '
    node = Node(mobj)
    return node.hashCode