code: def bind_context_to_node(context, node):
      
      context = copy_context(context)
      context.boundnode = node
      return context
docs: Give a context a boundnode
      to retrieve the correct function name or attribute value
      with from further inference.
  
      Do not use an existing context since the boundnode could then
      be incorrectly propagated higher up in the call stack.
  
      :param context: Context to use
      :type context: Optional(context)
  
      :param node: Node to do name lookups from
      :type node NodeNG:
  
      :returns: A new context
      :rtype: InferenceContext