|
|
|
|
|
by ziedaniel1
1057 days ago
|
|
A couple details worth noting: - `repr` often outputs valid source code that evaluates to the object, including in the post's example: running `datetime.datetime(2023, 7, 20, 15, 30, 0, 123456)` would give you a `datetime.datetime` object equivalent to `today`. - Using `_` for throwaway variables is merely a convention and not built into the language in any way (unlike in Haskell, say). |
|