A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-April/088798.html below:

[Python-Dev] Issue5434: datetime.monthdelta

[Python-Dev] Issue5434: datetime.monthdelta [Python-Dev] Issue5434: datetime.monthdeltaJames Pye lists at jwp.name
Thu Apr 16 11:44:14 CEST 2009
On Apr 16, 2009, at 1:10 AM, Oleg Broytmann wrote:
>> This patch adds a "monthdelta" class and a "monthmod" function to the
>> datetime module.  The monthdelta class is much like the existing
>> timedelta class, except that it represents months offset from a date,
>> rather than an exact period offset from a date.
>
>   I'd rather see the code merged with timedelta: timedelta(months=n).

+1
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4