code: def _addTags(self, **k):
          
  
          for tag, thing in k.items():
              if not isinstance(thing, (tuple, list)):
                  thing = (thing,)
              typetag = defaulttagtype[tag]
              self.rawtagdict[tag] = encode(typetag, *thing)
          return self
docs: Helper for :meth:`addTags`.