code: def unregister_callback(self, type_, from_, *,
                              wildcard_resource=True):
          
          if from_ is None or not from_.is_bare:
              wildcard_resource = False
  
          self._map.pop((type_, from_, wildcard_resource))
docs: Unregister a callback function.
  
          :param type_: Stanza type to listen for, or :data:`None` for a
                        wildcard match.
          :param from_: Sender to listen for, or :data:`None` for a full wildcard
                        match.
          :type from_: :class:`aioxmpp.JID` or :data:`None`
          :param wildcard_resource: Whether to wildcard the resourcepart of the
                                    JID.
          :type wildcard_resource: :class:`bool`
  
          The callback must be disconnected with the same arguments as were used
          to connect it.