On Tue, 15 Dec 2020 at 15:32, Steven D'Aprano wrote:
>
> On Tue, Dec 15, 2020 at 03:08:51AM -, qaidjoharbarbh...@gmail.com wrote:
> > Hello,
> >
> > Greetings!
> >
> > I have the following idea of adding a function in Lib/datetime.py
> > which when called with the datetime.date object returns
On Tue, Dec 15, 2020 at 03:08:51AM -, qaidjoharbarbh...@gmail.com wrote:
> Hello,
>
> Greetings!
>
> I have the following idea of adding a function in Lib/datetime.py
> which when called with the datetime.date object returns the months
> between the object datetime.date and the object datet
Hi. Bundling this into the standard library doesn't seem to provide any real
advantage over defining it as a free-standing utility function in your own
code.
And if it's in your own code you can easily tweak it if you need to :)
___
Python-ideas maili