Return a time struct based on the input string and the format string.
(data_string, format="%a %b %d %H:%M:%S %Y")
| 796 | weekday, julian, tz, tzname, gmtoff), fraction, gmtoff_fraction |
| 797 | |
| 798 | def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): |
| 799 | """Return a time struct based on the input string and the |
| 800 | format string.""" |
| 801 | tt = _strptime(data_string, format)[0] |
| 802 | return time.struct_time(tt[:time._STRUCT_TM_ITEMS]) |
| 803 | |
| 804 | def _strptime_datetime_date(cls, data_string, format="%a %b %d %Y"): |
| 805 | """Return a date instance based on the input string and the |
nothing calls this directly
no test coverage detected
searching dependent graphs…