Total seconds in the duration.
(self)
| 774 | return s |
| 775 | |
| 776 | def total_seconds(self): |
| 777 | """Total seconds in the duration.""" |
| 778 | return ((self.days * 86400 + self.seconds) * 10**6 + |
| 779 | self.microseconds) / 10**6 |
| 780 | |
| 781 | # Read-only field accessors |
| 782 | @property |
no outgoing calls