Total seconds in the duration.
(self)
| 717 | return s |
| 718 | |
| 719 | def total_seconds(self): |
| 720 | """Total seconds in the duration.""" |
| 721 | return ((self.days * 86400 + self.seconds) * 10**6 + |
| 722 | self.microseconds) / 10**6 |
| 723 | |
| 724 | # Read-only field accessors |
| 725 | @property |
no outgoing calls
no test coverage detected