Return a time struct based on the input string and the format string.
(data_string, format="%a %b %d %H:%M:%S %Y")
| 778 | weekday, julian, tz, tzname, gmtoff), fraction, gmtoff_fraction |
| 779 | |
| 780 | def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): |
| 781 | """Return a time struct based on the input string and the |
| 782 | format string.""" |
| 783 | tt = _strptime(data_string, format)[0] |
| 784 | return time.struct_time(tt[:time._STRUCT_TM_ITEMS]) |
| 785 | |
| 786 | def _strptime_datetime_date(cls, data_string, format="%a %b %d %Y"): |
| 787 | """Return a date instance based on the input string and the |
nothing calls this directly
no test coverage detected