In honor of today's date of September 12th, I came up with a #PythonOddity puzzle.

Can you guess the redacted module from the standard library (no pip install allowed!) such that:

from ████████ import ████, █████████
A = ████(12, 12, 12)
B = █████████(12, 12, 12, 12, 12, 12)
assert (A + B + B) != (B + B + A) # huh
assert (A + B + B) != (A + 2 * B) # this also works

@bmispelon
from datetime import date, timedelta

@bmispelon datetime, date, timedelta

Odd!

EDIT: I originally typed datetime when I meant timedelta. I blame my "from datetime import datetime" muscle memory.

@treyhunner you're in the right area, but that's not quite correct. You can't add dates and datetimes
@bmispelon my first thought was "really?!" Then I realized I'd I mistyped. 🙃