def _make_datetime(s):
    r"""Convert 7 bytes from a GINI file to a `datetime` instance."""
    s = bytearray(s)  # For Python 2
    year, month, day, hour, minute, second, cs = s
    if year < 70:
        year += 100
    return datetime(1900 + year, month, day, hour, minute, second, 10000 * cs)
def _make_datetime ( s ) : s = bytearray ( s ) year , month , day , hour , minute , second , cs = s if year < 70 : year += 100 return datetime ( 1900 + year , month , day , hour , minute , second , 10000 * cs )
r"""Convert 7 bytes from a GINI file to a `datetime` instance.