[issue37914] class timedelta, support the method hours and minutes in field accessors
Elinaldo Monteiro
report at bugs.python.org
Thu Aug 22 06:48:13 EDT 2019
New submission from Elinaldo Monteiro <elinaldosoft at gmail.com>:
Hello,
Does it make sense to exist theses 2 methods in class timedelta?
@property
def hours(self):
return self._seconds // 3600
@property
def minutes(self):
return self._seconds // 60
----------
messages: 350182
nosy: elinaldosoft
priority: normal
severity: normal
status: open
title: class timedelta, support the method hours and minutes in field accessors
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37914>
_______________________________________
More information about the Python-bugs-list
mailing list