class_docstr: A communication backend, selected by a given URI scheme (e.g. 'tcp').
class_docstr_tok: ["A","communication","backend",",","selected","by","a","given","URI","scheme","(","e.g",".","'tcp","'",")","."]
docstr: Get the local listening address suitable for reaching *loc*.
docstr_tok: ["Get","the","local","listening","address","suitable","for","reaching","*","loc","*","."]
code: def get_local_address_for(self, loc):
      """
      Get the local listening address suitable for reaching *loc*.
      """
  
file_path: distributed/distributed/comm/registry.py
imports: from __future__ import annotations
  import importlib.metadata
  import sys
  from abc import ABC, abstractmethod
  from collections.abc import Iterable
  from typing import Protocol
label_desc: Use image node_id 6 for calling the Backend obj's underlying member method code with example usage: obj.get_local_address_for(loc) without return types