code: def get_service(self, bundle, reference):
          # type: (Bundle, ServiceReference) -> Any
          
          if not isinstance(bundle, Bundle):
              raise TypeError("First argument must be a Bundle object")
          elif not isinstance(reference, ServiceReference):
              raise TypeError("Second argument must be a ServiceReference object")
  
          try:
              # Unregistering service, just give it
              return self.__unregistering_services[reference]
          except KeyError:
              return self._registry.get_service(bundle, reference)
docs: Retrieves the service corresponding to the given reference
  
          :param bundle: The bundle requiring the service
          :param reference: A service reference
          :return: The requested service
          :raise BundleException: The service could not be found
          :raise TypeError: The argument is not a ServiceReference object