code: def ordered_intersection(in_):
      """Set union of n sequences, ordered for reproducibility across runs."""
      intersection = reduce(set.intersection, in_, set(in_[0]))
      for x in chain.from_iterable(in_):
          if x in intersection:
              yield x
              intersection.remove(x)
  
file_path: catboost/contrib/python/hypothesis/py2/hypothesis/strategies/_internal/attrs.py
imports: from __future__ import absolute_import, division, print_function
  from functools import reduce
  from itertools import chain
  import attr
  import hypothesis.strategies
  from hypothesis.errors import ResolutionFailed
  from hypothesis.internal.compat import get_type_hints, string_types
  from hypothesis.strategies._internal.types import is_a_type, type_sorting_key
  from hypothesis.utils.conventions import infer
label_desc: Use image node_id 4 for calling a global function with example usage: ordered_intersection(in_) without return types