          """Create a DocBin object to hold serialized annotations.
  
          attrs (Iterable[str]): List of attributes to serialize. 'orth' and
              'spacy' are always serialized, so they're not required.
          store_user_data (bool): Whether to include the `Doc.user_data`.
          docs (Iterable[Doc]): Docs to add.
  
          DOCS: https://nightly.spacy.io/api/docbin#init
          """
          attrs = sorted([intify_attr(attr) for attr in attrs])
 
</s> remove         DocBins don't match.
 </s> add         DocBins don't match, or if they differ in whether or not to store
        user data. </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 and "user_data" in msg:
 </s> add         if "user_data" in msg:
        store_user_data (bool): Whether to write the `Doc.user_data` to bytes/file.
          """Create a DocBin object to hold serialized annotations.
  
          attrs (Iterable[str]): List of attributes to serialize. 'orth' and
              'spacy' are always serialized, so they're not required.
        store_user_data (bool): Whether to write the `Doc.user_data` to bytes/file.
          docs (Iterable[Doc]): Docs to add.
  
          DOCS: https://nightly.spacy.io/api/docbin#init
          """
          attrs = sorted([intify_attr(attr) for attr in attrs])
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