parameters: (cls, date, time, tzinfo=True)
return_statement: return cls(date.year, date.month, date.day,
                     time.hour, time.minute, time.second, time.microsecond,
                     tzinfo, fold=time.fold)
docstring: Construct a datetime from a given date and a given time.
docstring_summary: Construct a datetime from a given date and a given time.
docstring_tokens: Construct a datetime from a given date and a given time .
function: def combine(cls, date, time, tzinfo=True):
          "Construct a datetime from a given date and a given time."
          if not isinstance(date, _date_class):
              raise TypeError("date argument must be a date instance")
          if not isinstance(time, _time_class):
              raise TypeError("time argument must be a time instance")
          if tzinfo is True:
              tzinfo = time.tzinfo
          return cls(date.year, date.month, date.day,
                     time.hour, time.minute, time.second, time.microsecond,
                     tzinfo, fold=time.fold)
function_tokens: def combine ( cls , date , time , tzinfo = True ) : if not isinstance ( date , _date_class ) : raise TypeError ( "date argument must be a date instance" ) if not isinstance ( time , _time_class ) : raise TypeError ( "time argument must be a time instance" ) if tzinfo is True : tzinfo = time . tzinfo return cls ( date . year , date . month , date . day , time . hour , time . minute , time . second , time . microsecond , tzinfo , fold = time . fold )