code: def tee(data, n=2):
    
    if isinstance(data, (Stream, Iterator)):
      return tuple(Stream(cp) for cp in it.tee(data, n))
    else:
      return tuple(data for unused in xrange(n))
docs: Tee or "T" copy to help working with Stream instances as well as with
    numbers.
  
    Parameters
    ----------
    data :
      Input to be copied. Can be anything.
    n :
      Size of returned tuple. Defaults to 2.
  
    Returns
    -------
    Tuple of n independent Stream instances, if the input is a Stream or an
    iterator, otherwise a tuple with n times the same object.
  
    See Also
    --------
    thub :
      use Stream instances *almost* like constants in your equations.