New submission from Elinaldo Monteiro <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue37914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com