from datetime import datetime


def ymd2date(y, m, d):
    """
    Convert (y, m, d) tuple to datetime.datetime object
    where y, m, d are year, mont and date integers 
    Example (2013, 12, 20)
    
    :param tpl: Tuple inf (y, m, d) format
    :return: datetime.datetime object

    Example:
        >>> import dtime as d
        >>> d.tdate_ymd((2013,12,20))
        datetime.datetime(2013, 12, 20, 0, 0)
        >>>
    """
    #y, m, d  = tpl
    return datetime(y, m, d)