code: def request_name(self, bus_name, flags) :
          "registers a bus name."
          if not self._registered_bus_names_listeners :
              self.connection.bus_add_match_action \
                (
                  rule = "type=signal,interface=org.freedesktop.DBus,member=NameAcquired",
                  func = self._bus_name_acquired,
                  user_data = self
                )
              self.connection.bus_add_match_action \
                (
                  rule = "type=signal,interface=org.freedesktop.DBus,member=NameLost",
                  func = self._bus_name_lost,
                  user_data = self
                )
              self._registered_bus_names_listeners = True
          #end if
          return \
              self.connection.bus_request_name(bus_name, flagsf request_name(self, bus_name, flags) :
          "registers a bus name."
          if not self._registered_bus_names_listeners :
              self.connection.bus_add_match_action \
                (
                  rule = "type=signal,interface=org.freedesktop.DBus,member=NameAcquired",
                  func = self._bus_name_acquired,
                  user_data = self
                )
              self.connection.bus_add_match_action \
                (
                  rule = "type=signal,interface=org.freedesktop.DBus,member=NameLost",
                  func = self._bus_name_lost,
                  user_data = self
                )
              self._registered_bus_names_listeners = True
          #end if
          return \
              self.connection.bus_request_name(bus_name, flags)
docs: registers a bus name.