Total seconds in the duration.
(self)
| 783 | return s |
| 784 | |
| 785 | def total_seconds(self): |
| 786 | """Total seconds in the duration.""" |
| 787 | return ((self.days * 86400 + self.seconds) * 10**6 + |
| 788 | self.microseconds) / 10**6 |
| 789 | |
| 790 | # Read-only field accessors |
| 791 | @property |
no outgoing calls