14 ms·
Minor nitpick: I think you mean now = datetime.datetime.utcnow # no parentheses More generally, I think the strongest argument for using "from" is when you
by vadskye 11y ago
Minor nitpick: I think you mean
now = datetime.datetime.utcnow # no parentheses
More generally, I think the strongest argument for using "from" is when you're dealing with redundant "foo.foo.bar" names. Would you really be confused at seeing "datetime.utcnow()" instead of "datetime.datetime.utcnow()"?