  
      def merge(self, other: "DocBin") -> None:
          """Extend the annotations of this DocBin with the annotations from
          another. Will raise an error if the pre-defined attrs of the two
          DocBins don't match.
  
          other (DocBin): The DocBin to merge into the current bin.
  
          DOCS: https://nightly.spacy.io/api/docbin#merge
          """
 
</s> remove         store_user_data (bool): Whether to include the `Doc.user_data`.
 </s> add         store_user_data (bool): Whether to write the `Doc.user_data` to bytes/file. </s> remove         if self.store_user_data:
            self.user_data.extend(other.user_data)
 </s> add         self.user_data.extend(other.user_data) </s> remove             if self.store_user_data:
 </s> add             if i < len(self.user_data) and self.user_data[i] is not None: </s> remove         if self.store_user_data:
            self.user_data.append(srsly.msgpack_dumps(doc.user_data))
 </s> add         self.user_data.append(srsly.msgpack_dumps(doc.user_data))
        DocBins don't match, or if they differ in whether or not to store
        user data.
  
      def merge(self, other: "DocBin") -> None:
          """Extend the annotations of this DocBin with the annotations from
          another. Will raise an error if the pre-defined attrs of the two
        DocBins don't match, or if they differ in whether or not to store
        user data.
  
          other (DocBin): The DocBin to merge into the current bin.
  
          DOCS: https://nightly.spacy.io/api/docbin#merge
          """
keep keep keep keep replace keep keep keep keep keep
 small UX fix for DocBin (#6167)

* add informative warning when messing up store_user_data DocBin flags

* add informative warning when messing up store_user_data DocBin flags

* cleanup test

* rename to patterns_path 
spacy/tokens/_serialize.py