Lines Matching refs:timespec
161 def _format_time(hh, mm, ss, us, timespec='auto'):
170 if timespec == 'auto':
172 timespec = 'microseconds' if us else 'seconds'
173 elif timespec == 'milliseconds':
176 fmt = specs[timespec]
178 raise ValueError('Unknown timespec value')
1518 def isoformat(self, timespec='auto'):
1524 The optional argument timespec specifies the number of additional
1529 self._microsecond, timespec)
2009 def isoformat(self, sep='T', timespec='auto'):
2021 The optional argument timespec specifies the number of additional
2027 self._microsecond, timespec))