This suggestion is pretty confusing, particularly if you don't understand that datetime.datetime is a thing.
>>> import datetime
>>> datetime.now()
Traceback (most recent call last):
File "<python-input-1>", line 1, in <module>
datetime.now()
^^^^^^^^^^^^
AttributeError: module 'datetime' has no attribute 'now'. Did you mean: 'datetime.now'?
When the suggestion finds a match like this, it should also check to make sure the module name and the suggestion don't clash. Perhaps it should also be able to suggest datetime.datetime.now?
Linked PRs