On Mon, Oct 12, 2020 at 9:58 PM Abdur-Rahmaan Janhangeer
<arj.pyt...@gmail.com> wrote:
>
> Btw why a datetime in datetime?
>
> It causes much confusion. I dont know
> the design decision behind, if someone knows, it might be good to explain
>

There are quite a few modules that have one "most obvious" entrypoint,
and there's really no better name for either that thing or the module
it lives in. The pprint module has a pprint function, giving the same
phenomenon.

This is yet another reason that "from MODULE import *" is a bad idea.
Instead, just import the module itself, and take whatever you need.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to