Use '__getinitargs__' to provide unpickling-only defaults. #108

Merged
merged 1 commit into from May 21, 2013

Projects

None yet

2 participants

Owner
tseaver commented May 17, 2013

This is maybe a better change than adding default values to FixedOffset.init.

I added direct tests for pickling/unpickling, too.

@mcdonc mcdonc merged commit e5b8f76 into master May 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment