components/resources/protobufs/binary_proto_generator.py
def _fullname_to_filepath(self, fullname):
    """Converts a full module name to a corresponding path to a .py file.

    e.g. google.protobuf.text_format -> pyproto/google/protobuf/text_format.py
    """
    for path in self._paths:
      filepath = os.path.join(path, fullname.replace('.', os.sep) + '.py')
      if os.path.isfile(filepath):
        return filepath
    return None
Converts a full module name to a corresponding path to a .py file.

    e.g. google.protobuf.text_format -> pyproto/google/protobuf/text_format.py
    
Converts a full module name to a corresponding path to a .py file.
Converts a full module name to a corresponding path to a . py file .
def _fullname_to_filepath(self, fullname):
    for path in self._paths:
      filepath = os.path.join(path, fullname.replace('.', os.sep) + '.py')
      if os.path.isfile(filepath):
        return filepath
    return None
def _fullname_to_filepath ( self , fullname ) : for path in self . _paths : filepath = os . path . join ( path , fullname . replace ( '.' , os . sep ) + '.py' ) if os . path . isfile ( filepath ) : return filepath return None
Converts a full module name to a corresponding path to a .py file.
Converts a full module name to a corresponding path to a . py file .
"""Converts a full module name to a corresponding path to a .py file.

    e.g. google.protobuf.text_format -> pyproto/google/protobuf/text_format.py
    """
self
fullname