No, you can’t do that. For your usecase, use a tuple instead:
key = (2013, 1)
Since you don’t need to do date manipulations on the value a tuple more than suffices.
No, you can’t do that. For your usecase, use a tuple instead:
key = (2013, 1)
Since you don’t need to do date manipulations on the value a tuple more than suffices.